diff options
author | vanilla <vanilla@FreeBSD.org> | 2013-11-18 08:37:15 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2013-11-18 08:37:15 +0800 |
commit | 1982721df575ee1f38014d6c5416a3b73e0e17e9 (patch) | |
tree | 2b38c4ddded75d6142be0d45209292474f0596a8 /comms/cdr_read | |
parent | 4b45646c34d33875b29bb5e5a9b4ad4625f7049d (diff) | |
download | freebsd-ports-gnome-1982721df575ee1f38014d6c5416a3b73e0e17e9.tar.gz freebsd-ports-gnome-1982721df575ee1f38014d6c5416a3b73e0e17e9.tar.zst freebsd-ports-gnome-1982721df575ee1f38014d6c5416a3b73e0e17e9.zip |
Support STAGEDIR.
Diffstat (limited to 'comms/cdr_read')
-rw-r--r-- | comms/cdr_read/Makefile | 12 | ||||
-rw-r--r-- | comms/cdr_read/pkg-plist | 3 |
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%% |