aboutsummaryrefslogtreecommitdiff
path: root/comms/cdr_read
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-18 00:37:15 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-18 00:37:15 +0000
commit57e3213639e451ddc7e2311587929b679827e385 (patch)
tree2b38c4ddded75d6142be0d45209292474f0596a8 /comms/cdr_read
parentec67c2b687d0b609821be9dac725661545f90926 (diff)
downloadports-57e3213639e451ddc7e2311587929b679827e385.tar.gz
ports-57e3213639e451ddc7e2311587929b679827e385.zip
Notes
Diffstat (limited to 'comms/cdr_read')
-rw-r--r--comms/cdr_read/Makefile12
-rw-r--r--comms/cdr_read/pkg-plist3
2 files changed, 6 insertions, 9 deletions
diff --git a/comms/cdr_read/Makefile b/comms/cdr_read/Makefile
index 71eb389b59b6..1d2fd298a21a 100644
--- a/comms/cdr_read/Makefile
+++ b/comms/cdr_read/Makefile
@@ -14,19 +14,13 @@ USE_DOS2UNIX= readme_eng.txt
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
NO_WRKSUBDIR= yes
-PLIST_FILES= sbin/cdr_read
-PORTDOCS= *
-
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/sbin
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/readme_eng.txt ${DOCSDIR}/readme.txt
-.endif
+ ${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/readme_eng.txt ${STAGEDIR}${DOCSDIR}/readme.txt
.include <bsd.port.mk>
diff --git a/comms/cdr_read/pkg-plist b/comms/cdr_read/pkg-plist
new file mode 100644
index 000000000000..16cd4e003af0
--- /dev/null
+++ b/comms/cdr_read/pkg-plist
@@ -0,0 +1,3 @@
+sbin/cdr_read
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%