1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-02 15:20:48 +00:00
parent ff1071c0ac
commit af95f65219
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342316
3 changed files with 5 additions and 11 deletions

View File

@ -9,12 +9,10 @@ MASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= An efficient hex editor
MAN1= tweak.1
MANCOMPRESSED= yes
PLIST_FILES= bin/tweak
PLIST_FILES= bin/tweak \
man/man1/tweak.1.gz
MAKEFILE= ${FILESDIR}/Makefile.in
MAKE_ENV+= BINDIR="${LOCALBASE}/bin" MANDIR="${PREFIX}/man/man"
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -21,7 +21,6 @@ CONFIGURE_ARGS= --disable-gui \
PORTDOCS= *
PLIST_FILES= bin/quat-txt
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
@ -43,10 +42,8 @@ post-patch:
${WRKSRC}/Makefile.in
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.endif
.include <bsd.port.mk>

View File

@ -11,10 +11,9 @@ COMMENT= Character Animation Viewer for Everyone
GNU_CONFIGURE= yes
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
man/man1/cave.1.gz
NO_STAGE= yes
post-patch:
@${LN} -sf ${PORTNAME}.man ${WRKSRC}/doc/${PORTNAME}.1