diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-19 16:39:38 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-19 16:39:38 +0800 |
commit | ce45807af1a693b4e36bdfa3879cba1ddc63ab83 (patch) | |
tree | bed4813b664f7ea90a052bdd493a24108555bb01 /devel | |
parent | 1d149e91332798aeefa48959e8c32809cd8c13c7 (diff) | |
download | freebsd-ports-gnome-ce45807af1a693b4e36bdfa3879cba1ddc63ab83.tar.gz freebsd-ports-gnome-ce45807af1a693b4e36bdfa3879cba1ddc63ab83.tar.zst freebsd-ports-gnome-ce45807af1a693b4e36bdfa3879cba1ddc63ab83.zip |
Support staging
Diffstat (limited to 'devel')
-rw-r--r-- | devel/elfrc/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/devel/elfrc/Makefile b/devel/elfrc/Makefile index 37cb4b8e54ab..dd49336138d2 100644 --- a/devel/elfrc/Makefile +++ b/devel/elfrc/Makefile @@ -12,16 +12,15 @@ COMMENT= Resource compiler for ELF systems PLIST_FILES= bin/elfrc PORTDOCS= README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-build: @${ECHO} '#define ELFRC_VERSION "${PORTVERSION}"' > ${WRKSRC}/config.h ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/elfrc ${WRKSRC}/elfrc.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/elfrc ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/elfrc ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |