aboutsummaryrefslogtreecommitdiff
path: root/textproc/agrep
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2013-10-28 20:17:49 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2013-10-28 20:17:49 +0000
commitf9a95694ae9c38f6dae2a97fa1726264a3198259 (patch)
tree3c093e5e9f44dbd7329704a7501108506fd0251d /textproc/agrep
parent3b358afb341029c5af1bf0e8790bbe78efa33099 (diff)
downloadports-f9a95694ae9c38f6dae2a97fa1726264a3198259.tar.gz
ports-f9a95694ae9c38f6dae2a97fa1726264a3198259.zip
- revert r331810
Notes
Notes: svn path=/head/; revision=331895
Diffstat (limited to 'textproc/agrep')
-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>