mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
bdf8bd18f3
- portlint(1) Note, that the distfile is a bit different, but the sources are unchanged, diff here: http://people.freebsd.org/~gabor/patches/dico.dist.diff Approved by: erwin (mentor)
53 lines
961 B
Makefile
53 lines
961 B
Makefile
# New ports collection makefile for: dico
|
|
# Date created: 11 October 2000
|
|
# Whom: Cyrille Lefevre <clefevre@citeweb.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dico
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= french
|
|
MASTER_SITES= ftp://ftp.supelec.fr/lsi/pub/security/
|
|
DISTNAME= le_dico
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Interactive dictionary in french
|
|
|
|
BROKEN_WWW= http://www.montefiore.ulg.ac.be/cgi-bin-ulg/DICO.html
|
|
|
|
# Global variables
|
|
#
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
USE_AUTOTOOLS= automake:14 autoconf:213
|
|
USE_GMAKE= true
|
|
AUTOMAKE_ARGS= --add-missing --foreign --include-deps
|
|
MAKE_ARGS= prefix=${PREFIX}
|
|
MAN1= dico.1
|
|
REINPLACE_SUB= PREFIX=${PREFIX}
|
|
|
|
# Post-patch
|
|
#
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
|
${WRKSRC}/sources/dico.c
|
|
|
|
# Pre-configure
|
|
#
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ${ACLOCAL}
|
|
|
|
# Post-install
|
|
#
|
|
|
|
post-install:
|
|
.if defined(NOPORTDOCS)
|
|
@${RM} -rf ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|