mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
Switch to OptionsNg
This commit is contained in:
parent
f4b48ac11d
commit
11be97e555
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299326
@ -22,8 +22,10 @@ PORTDOCS= README
|
||||
CONFLICTS= par2cmdline-tbb-[0-9]*
|
||||
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}/
|
||||
.endif
|
||||
|
@ -25,12 +25,14 @@ MAN8= bonnie++.8 getc_putc.8 zcav.8
|
||||
|
||||
PORTDOCS= readme.html
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
pre-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/share/|${PREFIX}/share/|g' ${WRKSRC}/bonnie++.8
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/readme.html ${DOCSDIR}
|
||||
.endif
|
||||
|
@ -23,7 +23,9 @@ USE_GETTEXT= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
PORTDOCS= help.ncd
|
||||
INSTALL_TARGET= install docinstall
|
||||
.endif
|
||||
|
@ -69,7 +69,7 @@ do-install:
|
||||
@${LN} ${PREFIX}/lib/libraknet.so.0 ${PREFIX}/lib/libraknet.so
|
||||
@${INSTALL_LIB} ${WRKSRC}/Lib/LibStatic/libRakNetStatic.a \
|
||||
${PREFIX}/lib/libraknet.a
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}/Help
|
||||
@(cd ${WRKSRC}/Help/ && ${COPYTREE_SHARE} \* ${DOCSDIR}/Help)
|
||||
@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}/
|
||||
|
@ -26,8 +26,10 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||
|
@ -38,6 +38,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
|
||||
PLIST_FILES= bin/pencil
|
||||
PORTDOCS= README TODO
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
||||
${QMAKE} -unix PREFIX=${PREFIX} \
|
||||
@ -51,7 +53,7 @@ post-patch:
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/Pencil ${PREFIX}/bin/pencil
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||
|
@ -30,19 +30,21 @@ INSTALLS_ICONS= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
MAN1= grsync.1 grsync-batch.1
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
MAN1= grsync.1 grsync-batch.1
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|/bin/bash|${LOCALBASE}/bin/bash|' \
|
||||
${WRKSRC}/src/grsync-batch
|
||||
.if defined(WITHOUT_NLS)
|
||||
.if empty(PORT_OPTIONS:MNLS)
|
||||
@${REINPLACE_CMD} 's/^ALL_LINGUAS=.*/ALL_LINGUAS=""/' \
|
||||
${WRKSRC}/configure
|
||||
.endif
|
||||
|
@ -22,14 +22,14 @@ MAN1= fpart.1
|
||||
PLIST_FILES= bin/fpart
|
||||
PORTDOCS= Changelog README TODO
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user