aboutsummaryrefslogtreecommitdiff
path: root/textproc/ansifilter/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-25 22:03:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-25 22:03:15 +0000
commit3e0a2d750860c7137d17284fa4e782bdd20cf06b (patch)
tree51a1e107205108606647ac9b8d35294bfa261f23 /textproc/ansifilter/Makefile
parentbbde3b1a18aed5a0afadad1708e38628dac2362c (diff)
downloadports-3e0a2d750860c7137d17284fa4e782bdd20cf06b.tar.gz
ports-3e0a2d750860c7137d17284fa4e782bdd20cf06b.zip
Notes
Diffstat (limited to 'textproc/ansifilter/Makefile')
-rw-r--r--textproc/ansifilter/Makefile26
1 files changed, 9 insertions, 17 deletions
diff --git a/textproc/ansifilter/Makefile b/textproc/ansifilter/Makefile
index e5b06d3ab646..de27e8465e79 100644
--- a/textproc/ansifilter/Makefile
+++ b/textproc/ansifilter/Makefile
@@ -9,34 +9,26 @@ MASTER_SITES= http://www.andre-simon.de/zip/
MAINTAINER= ports@FreeBSD.org
COMMENT= Customizable ANSI Code Converter
+LICENSE= GPLv3
+
USE_BZIP2= yes
MAKEFILE= makefile
MAKE_ARGS= CC="${CXX}" \
CFLAGS="${CXXFLAGS} ${CPPFLAGS} -c" \
LDFLAGS="${LDFLAGS}"
-PLIST_FILES= bin/ansifilter
-
-MAN1= ${PORTNAME}.1
-MANCOMPRESSED= yes
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-.if !defined(NOPORTDOCS)
PORTDOCS= ChangeLog README
-.endif
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|^PREFIX =|PREFIX ?=|' ${WRKSRC}/${MAKEFILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/${MAN1}.gz ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
-
-.include <bsd.port.post.mk>
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1.gz ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>