1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2013-12-13 23:25:27 +00:00
parent 9909c1df7d
commit 61cb0464f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336381

View File

@ -16,17 +16,16 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-1.1
USE_XORG= xpm xt xaw
ALL_TARGET= xstarroll
MAN1= xstarroll.1
PLIST_FILES= bin/xstarroll
PLIST_FILES= bin/xstarroll \
man/man1/xstarroll.1.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|$${LOCALBASE}|g ; \
s|gcc |$${CC} |g ; \
s|-O |$${CFLAGS} |g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xstarroll ${PREFIX}/bin/xstarroll
${INSTALL_MAN} ${WRKSRC}/xstarroll.man ${MANPREFIX}/man/man1/xstarroll.1
${INSTALL_PROGRAM} ${WRKSRC}/xstarroll ${STAGEDIR}${PREFIX}/bin/xstarroll
${INSTALL_MAN} ${WRKSRC}/xstarroll.man ${STAGEDIR}${MANPREFIX}/man/man1/xstarroll.1
.include <bsd.port.mk>