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
1d930db62a
commit
d48434b92b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353365
@ -17,7 +17,6 @@ SHEBANG_FILES= Examples/gdsinfo Examples/scalegds
|
|||||||
WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${PORTVERSION}
|
WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${PORTVERSION}
|
||||||
PLIST_FILES= bin/gdsinfo bin/gds2gdt bin/gdt2gds bin/scalegds
|
PLIST_FILES= bin/gdsinfo bin/gds2gdt bin/gdt2gds bin/scalegds
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
|
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
|
||||||
${WRKSRC}/Examples/gdsinfo ${WRKSRC}/Examples/scalegds
|
${WRKSRC}/Examples/gdsinfo ${WRKSRC}/Examples/scalegds
|
||||||
@ -29,6 +28,6 @@ post-install:
|
|||||||
${INSTALL_SCRIPT} \
|
${INSTALL_SCRIPT} \
|
||||||
${WRKSRC}/Examples/gdsinfo \
|
${WRKSRC}/Examples/gdsinfo \
|
||||||
${WRKSRC}/Examples/scalegds \
|
${WRKSRC}/Examples/scalegds \
|
||||||
${PREFIX}/bin
|
${STAGEDIR}${PREFIX}/bin
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -34,7 +34,7 @@ clean:
|
|||||||
rm -f *.o ${PROG}
|
rm -f *.o ${PROG}
|
||||||
|
|
||||||
install:
|
install:
|
||||||
${BSD_INSTALL_PROGRAM} ${PROG} ${PREFIX}/bin
|
${BSD_INSTALL_PROGRAM} ${PROG} ${DESTDIR}${PREFIX}/bin
|
||||||
|
|
||||||
.for P in ${PROG}
|
.for P in ${PROG}
|
||||||
${P}: ${OBJS.${P}}
|
${P}: ${OBJS.${P}}
|
||||||
|
Loading…
Reference in New Issue
Block a user