mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support stage
This commit is contained in:
parent
46b36c0c1d
commit
3e446db25d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338703
@ -14,29 +14,24 @@ LICENSE= GPLv2
|
||||
|
||||
CONFLICTS= par-[0-9]*
|
||||
|
||||
NO_STAGE= yes
|
||||
MAKEFILE= Makefile.Linux
|
||||
MAKE_ARGS= CC="${CC}"
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
MAN1= ${PORTNAME}.1
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
man/man1/${PORTNAME}.1.gz
|
||||
PORTDOCS= ChangeLog README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,-Wall.*-pipe,${CFLAGS}, ; \
|
||||
s,"Linux,"${OPSYS},' ${WRKSRC}/${MAKEFILE}
|
||||
@${REINPLACE_CMD} -e 's,off_t,uint32_t,g' ${WRKSRC}/par.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user