mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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).
This commit is contained in:
parent
57bbcc44c1
commit
07bf796007
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340010
1 changed files with 5 additions and 10 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue