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/sredird | |
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/sredird')
-rw-r--r-- | comms/sredird/Makefile | 14 | ||||
-rw-r--r-- | comms/sredird/pkg-plist | 3 |
2 files changed, 6 insertions, 11 deletions
diff --git a/comms/sredird/Makefile b/comms/sredird/Makefile index 770a903b5935..3d8b1f1db3f7 100644 --- a/comms/sredird/Makefile +++ b/comms/sredird/Makefile @@ -13,22 +13,14 @@ COMMENT= RFC 2217 compliant serial port redirector LICENSE= GPLv2 -PLIST_FILES= libexec/sredird -PORTDOCS= README - OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-build: ${CC} ${CFLAGS} -Wall -o ${WRKSRC}/sredird ${WRKSRC}/sredird.c -.include <bsd.port.options.mk> - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sredird ${PREFIX}/libexec -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/sredird ${STAGEDIR}${PREFIX}/libexec + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/comms/sredird/pkg-plist b/comms/sredird/pkg-plist new file mode 100644 index 000000000000..0331017aa79c --- /dev/null +++ b/comms/sredird/pkg-plist @@ -0,0 +1,3 @@ +libexec/sredird +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |