aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-13 01:20:59 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-13 01:20:59 +0800
commit36f7bfef411f992d1285cac6ee1c0691b8536f5e (patch)
tree47a72ff742466607c883e028e8b6d70d89db0305 /print
parent239a9004305e0075b644387f46b02a59e1311162 (diff)
downloadfreebsd-ports-gnome-36f7bfef411f992d1285cac6ee1c0691b8536f5e.tar.gz
freebsd-ports-gnome-36f7bfef411f992d1285cac6ee1c0691b8536f5e.tar.zst
freebsd-ports-gnome-36f7bfef411f992d1285cac6ee1c0691b8536f5e.zip
- Switch to USES=tar
- Switch to options helpers - Add LICENSE_FILE
Diffstat (limited to 'print')
-rw-r--r--print/detex/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/detex/Makefile b/print/detex/Makefile
index acd5a382d9cf..4c6e1d92915d 100644
--- a/print/detex/Makefile
+++ b/print/detex/Makefile
@@ -6,18 +6,19 @@ PORTVERSION= 2.8
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://www.cs.purdue.edu/homes/trinkle/detex/
-EXTRACT_SUFX= .tar
MAINTAINER= ports@FreeBSD.org
COMMENT= Strips TeX/LaTeX codes from a file
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
+USES= tar
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DNO_MALLOC_DECL -DHAVE_STRING_H"
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-
PORTDOCS= README
+
OPTIONS_DEFINE= DOCS
post-extract:
@@ -25,10 +26,10 @@ post-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1/
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}