aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2014-01-17 10:56:01 +0800
committerdanfe <danfe@FreeBSD.org>2014-01-17 10:56:01 +0800
commitacb330168045ff4ca60cecd1c3d40f859f5d94ec (patch)
tree3616488789bfc2f49086579d04e4b2492a1c9b53 /editors
parent944b5dd5e1caafadde6946bc5ac6d53251494bea (diff)
downloadfreebsd-ports-gnome-acb330168045ff4ca60cecd1c3d40f859f5d94ec.tar.gz
freebsd-ports-gnome-acb330168045ff4ca60cecd1c3d40f859f5d94ec.tar.zst
freebsd-ports-gnome-acb330168045ff4ca60cecd1c3d40f859f5d94ec.zip
Stagify; while using ${STAGEDIR} in INSTALL_PREFIX looks suspicious, it
is actually okay here, since this value is not referenced in the source code itself yet simplifies things for us (no patches needed).
Diffstat (limited to 'editors')
-rw-r--r--editors/heme/Makefile15
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>