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

- Support STAGE

This commit is contained in:
Philippe Audeoud 2013-12-27 13:08:28 +00:00
parent cc06205351
commit f20536806a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337727
6 changed files with 15 additions and 30 deletions

View File

@ -12,8 +12,6 @@ COMMENT= A versatile ncurses-based hex editor
GNU_CONFIGURE= yes
MAN1= hexcurse.1
PLIST_FILES= bin/hexcurse
PLIST_FILES= bin/hexcurse man/man1/hexcurse.1.gz
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -16,16 +16,17 @@ SUB_LIST= PORTNAME=${PORTNAME}
PLIST_FILES= bin/banihstypos
PORTDOCS= readme.txt
.include <bsd.port.options.mk>
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/banihstypos ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.if ! ${PORT_OPTIONS:MDOCS}
PORTDOCS= readme.txt
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/banihstypos ${STAGEDIR}${PREFIX}/bin
.if ! ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
.endif
post-install:
@${ECHO_MSG}; ${CAT} ${PKGMESSAGE}; ${ECHO_MSG}
.include <bsd.port.mk>

View File

@ -17,23 +17,16 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= pkgconfig
USE_LDCONFIG= yes
MAKE_ARGS= CC="${CC}"
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
DATADIR= ${PREFIX}/share/irssi
DOCSDIR= ${PREFIX}/share/doc/irssi
CFLAGS_amd64= -fPIC
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
# Try to unbreak parallel builds (-jX)
@${REINPLACE_CMD} -E 's|cd (.+) && (\$${MAKE})|\2 -C \1|' \
${WRKSRC}/Makefile ${WRKSRC}/src/Makefile
# Uphold CFLAGS
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' ${WRKSRC}/config.mk
.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|doc-install ||' ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>

View File

@ -13,14 +13,9 @@ COMMENT= Verify mail address
WRKSRC= ${WRKDIR}
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" RES=""
MAN1= vrfy.1
MANCOMPRESSED= yes
PLIST_FILES= bin/vrfy
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/vrfy ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/${MAN1} ${PREFIX}/man/man1/
${GZIP_CMD} ${PREFIX}/man/man1/${MAN1}
${INSTALL_PROGRAM} ${WRKDIR}/vrfy ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -13,7 +13,4 @@ COMMENT= Convert numbers between various bases
USES= perl5
USE_PERL5= configure
MAN3= Math::BaseCalc.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,5 +1,6 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BaseCalc/.packlist
%%SITE_PERL%%/Math/BaseCalc.pm
%%PERL5_MAN3%%/Math::BaseCalc.3.gz
@dirrmtry %%SITE_PERL%%/Math
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BaseCalc
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math