diff options
author | tijl <tijl@FreeBSD.org> | 2014-03-15 04:59:20 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-03-15 04:59:20 +0800 |
commit | 28b83ccec5d8c2af9b3660a9e2699df99e8f03d8 (patch) | |
tree | 55f1435ef55f0c3e2d1e07a32af7a1b9815aee01 /textproc | |
parent | 069d4b53cd6a5407774e445bf7d83e0548adabd3 (diff) | |
download | freebsd-ports-gnome-28b83ccec5d8c2af9b3660a9e2699df99e8f03d8.tar.gz freebsd-ports-gnome-28b83ccec5d8c2af9b3660a9e2699df99e8f03d8.tar.zst freebsd-ports-gnome-28b83ccec5d8c2af9b3660a9e2699df99e8f03d8.zip |
Fix double occurences of USES=
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/yodl/Makefile | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/textproc/yodl/Makefile b/textproc/yodl/Makefile index ffd574d4a649..b4fb44d03ebb 100644 --- a/textproc/yodl/Makefile +++ b/textproc/yodl/Makefile @@ -3,6 +3,7 @@ PORTNAME= yodl PORTVERSION= 3.03.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -17,26 +18,9 @@ BUILD_DEPENDS= icmake:${PORTSDIR}/devel/icmake \ bash:${PORTSDIR}/shells/bash \ gsed:${PORTSDIR}/textproc/gsed -USES= perl5 +USES= perl5 shebangfix USE_PERL5= build -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} -PORTDOCS= * - -PLIST_SUB+= PORTVERSION="${PORTVERSION}" - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -OPTIONS_DEFINE= DOCS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDOCS} -USE_TEX= latex:build dvipsk:build -.endif - -USES= shebangfix - SHEBANG_LANG= icmake icmake_OLD_CMD= /usr/bin/icmake icmake_CMD= ${LOCALBASE}/bin/icmake @@ -57,6 +41,21 @@ SHEBANG_FILES= ${WRKSRC}/macros/rawmacros/create \ ${WRKSRC}/scripts/yodl2whatever.in \ ${WRKSRC}/build +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} +PORTDOCS= * + +PLIST_SUB+= PORTVERSION="${PORTVERSION}" + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +USE_TEX= latex:build dvipsk:build +.endif + post-patch: @${REINPLACE_CMD} -e 's|"/usr"|"${PREFIX}"| ; \ s|"/share/yodl"|"/share/${PORTNAME}-${PORTVERSION}"| ; \ |