diff options
-rw-r--r-- | editors/heme/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/editors/heme/Makefile b/editors/heme/Makefile index 8066054c0e6b..4b64ddba88c7 100644 --- a/editors/heme/Makefile +++ b/editors/heme/Makefile @@ -12,21 +12,16 @@ COMMENT= Small and fast console hex editor for Unix-like systems LICENSE= GPLv2 ALL_TARGET= ${PORTNAME} -MAKE_ARGS= CFLAGS="${CFLAGS} -Wall -DHAVE_MMAP" INSTALL_PREFIX="${PREFIX}" +MAKE_ARGS= CFLAGS="${CFLAGS} -Wall -DHAVE_MMAP" \ + INSTALL_PREFIX="${STAGEDIR}${PREFIX}" -PLIST_FILES= bin/${PORTNAME} -MAN1= ${PORTNAME}.1 +PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz PORTDOCS= README OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> - post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |