summaryrefslogtreecommitdiffstats
path: root/french/dico/Makefile
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2002-10-31 23:49:38 +0000
committerobraun <obraun@FreeBSD.org>2002-10-31 23:49:38 +0000
commitb243c49f71bc23a18723e30a163b1ab6d9dd9fb0 (patch)
treecc60717f1962846eac0a18ebc953fa98fbee7330 /french/dico/Makefile
parenta56af0d54fe551d675c9b915b27a5a1ec7ab12de (diff)
downloadFreeBSD-ports-b243c49f71bc23a18723e30a163b1ab6d9dd9fb0.zip
FreeBSD-ports-b243c49f71bc23a18723e30a163b1ab6d9dd9fb0.tar.gz
* make fetchable again
* bump PORTREVISION * PERL -> REINPLACE PR: ports/37100 Submitted by: maintainer
Diffstat (limited to 'french/dico/Makefile')
-rw-r--r--french/dico/Makefile28
1 files changed, 20 insertions, 8 deletions
diff --git a/french/dico/Makefile b/french/dico/Makefile
index a73b628..4d161b9 100644
--- a/french/dico/Makefile
+++ b/french/dico/Makefile
@@ -7,25 +7,37 @@
PORTNAME= dico
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= http://www.montefiore.ulg.ac.be/~geuzaine/BRONNE/WWW/ftp/
-# ftp://ftp.supelec.fr/lsi/pub/security/
-# have dico.tar.gz which fail because of EXTRACT_SUFX
-DISTNAME= le_dico
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://homepages.starnet.fr/dtrystram/
+# http://www.montefiore.ulg.ac.be/~geuzaine/BRONNE/WWW/ftp/ le_dico.tgz
+# ftp://ftp.supelec.fr/lsi/pub/security/ le_dico.tar.gz
+# http://homepages.starnet.fr/dtrystram/ ledico.zip
+# http://hpux.cict.fr/ftp/hpux/Text/ dico-1.1/dico-1.1-ss-11.00.tar.gz
+DISTNAME= ledico
MAINTAINER= cyrille.lefevre@laposte.net
-NO_WRKSUBDIR= true
-PATCH_STRIP= -p1
+# Global variables
+#
+
+USE_REINPLACE= true
+USE_ZIP= true
+WRKSRC= ${WRKDIR}/${PORTNAME}
USE_AUTOMAKE= true
USE_GMAKE= true
AUTOMAKE_ARGS= --add-missing --foreign --include-deps
MAKE_ARGS= prefix=${PREFIX}
MAN1= dico.1
+# Post-patch
+#
+
post-patch:
- @${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/sources/dico.c
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/sources/dico.c
+
+# Pre-configure
+#
pre-configure:
@cd ${WRKSRC} && ${ACLOCAL}
OpenPOWER on IntegriCloud