aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-10-29 04:17:49 +0800
committerdinoex <dinoex@FreeBSD.org>2013-10-29 04:17:49 +0800
commitd267cb70daf837dbafcbc90179249a6f189f3b09 (patch)
tree3c093e5e9f44dbd7329704a7501108506fd0251d /textproc
parent84c238f9ae2f21d152b8a71d906c56f6806bd924 (diff)
downloadfreebsd-ports-gnome-d267cb70daf837dbafcbc90179249a6f189f3b09.tar.gz
freebsd-ports-gnome-d267cb70daf837dbafcbc90179249a6f189f3b09.tar.zst
freebsd-ports-gnome-d267cb70daf837dbafcbc90179249a6f189f3b09.zip
- revert r331810
Diffstat (limited to 'textproc')
-rw-r--r--textproc/agrep/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/textproc/agrep/Makefile b/textproc/agrep/Makefile
index 00d94140f86a..90d6729bf7b7 100644
--- a/textproc/agrep/Makefile
+++ b/textproc/agrep/Makefile
@@ -15,23 +15,22 @@ COMMENT= Approximate grep (fast approximate pattern-matching tool)
NO_CDROM= no redistribution for profit
-USES= manpages:install
ALL_TARGET=
MAKE_ARGS= CFLAGS="${CFLAGS}"
-PLIST_FILES= bin/agrep
+PLIST_FILES= bin/agrep man/man1/agrep.1.gz
PORTDOCS= COPYRIGHT agrep.algorithms agrep.ps.1.Z agrep.ps.2.Z
-MAN1= agrep.1
.include <bsd.port.options.mk>
post-extract:
${CP} ${DISTDIR}/agrep.ps.1.Z ${DISTDIR}/agrep.ps.2.Z ${WRKSRC}/
-do-install: install-all-manpages
- @${INSTALL_PROGRAM} ${WRKSRC}/agrep ${STAGEDIR}${PREFIX}/bin/
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/agrep ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/agrep.1 ${STAGEDIR}${MANPREFIX}/man/man1/
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>