mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
Support stage
This commit is contained in:
parent
1fc2155a2a
commit
5d9e1ffc59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346445
@ -16,17 +16,14 @@ USE_XORG= x11
|
||||
NO_WRKSUBDIR= yes
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKSRC}
|
||||
@${MKDIR} ${WRKSRC}
|
||||
${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} `pkg-config --cflags --libs x11` ${DISTFILES}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user