svn commit: r340010 - head/editors/heme
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Jan 17 02:56:02 UTC 2014
Author: danfe
Date: Fri Jan 17 02:56:01 2014
New Revision: 340010
URL: http://svnweb.freebsd.org/changeset/ports/340010
QAT: https://qat.redports.org/buildarchive/r340010/
Log:
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).
Modified:
head/editors/heme/Makefile
Modified: head/editors/heme/Makefile
==============================================================================
--- head/editors/heme/Makefile Fri Jan 17 02:39:23 2014 (r340009)
+++ head/editors/heme/Makefile Fri Jan 17 02:56:01 2014 (r340010)
@@ -12,21 +12,16 @@ COMMENT= Small and fast console hex edit
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>
More information about the svn-ports-all
mailing list