Changeset 10285


Ignore:
Timestamp:
Jan 9, 2005, 12:38:02 AM (15 years ago)
Author:
mij
Message:

Update to version 0.36.1.

Bug:
Submitted by: mww
Reviewed by:
Approved by:
Obtained from:

Location:
trunk/dports/textproc/antiword
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/antiword/Portfile

    r8519 r10285  
    1 # $Id: Portfile,v 1.11 2004/09/30 16:47:14 mij Exp $
     1# $Id: Portfile,v 1.12 2005/01/09 00:38:01 mij Exp $
    22
    33PortSystem 1.0
    44name            antiword
    5 version         0.35
     5version         0.36.1
    66categories      textproc
    77maintainers     mij@opendarwin.org
     
    1515master_sites    http://www.winfield.demon.nl/linux/
    1616
    17 checksums       md5 f372214081853c8336e96cb9bede26af
     17checksums       md5 d46107219f4afaee658647a49dc45ed9
    1818
    19 configure       {}
    20 post-configure  { reinplace "s|\/usr|${prefix}|g" \
    21                     ${worksrcpath}/antiword.h
    22                   reinplace "s|-pedantic||g" ${worksrcpath}/Makefile.Linux }
     19patchfiles      patch-Makefile.Linux \
     20                        patch-main_u.c
    2321
    24 patchfiles      patch-Makefile.Linux
     22configure       { reinplace "s|/usr|${prefix}|g" ${worksrcpath}/antiword.h }
    2523
    26 destroot.target global_install
    2724destroot.args   prefix=${destroot}${prefix}
    28 
    29 post-destroot   { system "install -m 644 ${worksrcpath}/Docs/antiword.1 ${destroot}${prefix}/share/man/man1" }
  • trunk/dports/textproc/antiword/files/patch-Makefile.Linux

    r8519 r10285  
    1 --- Makefile.Linux.orig Wed Feb 26 12:05:47 2003
    2 +++ Makefile.Linux      Thu Jul 22 12:06:25 2004
    3 @@ -35,8 +35,8 @@
     1--- Makefile    Thu Oct 21 20:13:03 2004
     2+++ Makefile.new        Sun Jan  2 11:27:21 2005
     3@@ -16,7 +16,7 @@
     4 
     5 LDLIBS =
     6 
     7-CFLAGS = -Wall -pedantic $(OPT) -D$(DB)
     8+CFLAGS = -Wall $(OPT) -D$(DB)
     9 LDFLAGS        =
     10 
     11 OBJS   =\
     12@@ -36,16 +36,19 @@
    413 LOCAL_INSTALL_DIR = $(HOME)/bin
    514 LOCAL_RESOURCES_DIR = $(HOME)/.antiword
     
    716-GLOBAL_INSTALL_DIR = /usr/local/bin
    817-GLOBAL_RESOURCES_DIR = /usr/share/antiword
    9 +GLOBAL_INSTALL_DIR = ${destroot}${prefix}/bin
    10 +GLOBAL_RESOURCES_DIR = ${destroot}${prefix}/share/antiword
     18+BINDIR = ${prefix}/bin
     19+DATADIR = ${prefix}/share/antiword
     20+MAN1DIR = ${prefix}/share/man/man1/
    1121 
    1222 all:           $(PROGS)
    1323 
    14 @@ -46,16 +46,11 @@
    15         mkdir -p $(LOCAL_RESOURCES_DIR)
    16         cp -pf Resources/* $(LOCAL_RESOURCES_DIR)
    17  
    18 -# NOTE: you might have to be root to do this
    19 -global_install:        all
    20 -#      @[ `id -u` -eq 0 ] || (echo "You must be root to do this" && false)
    21 -       mkdir -p $(DESTDIR)$(GLOBAL_INSTALL_DIR)
    22 -       $(INSTALL_PROGRAM) $(PROGS) $(DESTDIR)$(GLOBAL_INSTALL_DIR)
    23 -       cd $(DESTDIR)$(GLOBAL_INSTALL_DIR); chmod 755 $(PROGS)
    24 -       mkdir -p $(DESTDIR)$(GLOBAL_RESOURCES_DIR)
    25 -       $(INSTALL_DATA) Resources/*.txt $(DESTDIR)$(GLOBAL_RESOURCES_DIR)
    26 -       $(INSTALL_DATA) Resources/fontnames $(DESTDIR)$(GLOBAL_RESOURCES_DIR)
    27 -       cd $(DESTDIR)$(GLOBAL_RESOURCES_DIR); chmod 644 *.txt fontnames
    28 +global_install: all
    29 +       install -o root -m 755 -d ${GLOBAL_INSTALL_DIR}
    30 +       install -o root -m 755 ${PROGS} ${GLOBAL_INSTALL_DIR}
    31 +       install -o root -m 755 -d ${GLOBAL_RESOURCES_DIR}
    32 +       install -o root -m 644 Resources/*.txt ${GLOBAL_RESOURCES_DIR}
     24 install:       all
     25-       mkdir -p $(LOCAL_INSTALL_DIR)
     26-       cp -pf $(PROGS) $(LOCAL_INSTALL_DIR)
     27-       mkdir -p $(LOCAL_RESOURCES_DIR)
     28-       cp -pf Resources/* $(LOCAL_RESOURCES_DIR)
     29+       install -m 755 -d ${BINDIR}
     30+       install -m 755 ${PROGS} ${BINDIR}
     31+       install -m 755 -d ${DATADIR}
     32+       install -m 644 Resources/*.txt ${DATADIR}
     33+       install -m 755 -d ${MAN1DIR}
     34+       install -m 644 Docs/antiword.1 ${MAN1DIR}
    3335 
    3436 # NOTE: you might have to be root to do this
    35  global_uninstall:
     37 global_install:        all
Note: See TracChangeset for help on using the changeset viewer.