mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 11:26:29 -04:00
- Add staging support
- Convert to new LIB_DEPENDS format
This commit is contained in:
parent
e3b3ad973c
commit
7347f74dac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352545
1 changed files with 3 additions and 5 deletions
|
@ -12,7 +12,7 @@ COMMENT= Compiler/decompiler for Scriptable Network Graphics
|
||||||
|
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb
|
BUILD_DEPENDS= ${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb
|
||||||
RUN_DEPENDS= ${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb
|
RUN_DEPENDS= ${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb
|
||||||
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CFLAGS+= -I${LOCALBASE}/include/libpng15
|
CFLAGS+= -I${LOCALBASE}/include/libpng15
|
||||||
|
@ -20,15 +20,13 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
|
CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
|
||||||
--with-rgbtxt=${LOCALBASE}/lib/X11/rgb.txt
|
--with-rgbtxt=${LOCALBASE}/lib/X11/rgb.txt
|
||||||
|
|
||||||
MAN1= sng.1
|
PLIST_FILES= bin/sng bin/sng_regress man/man1/sng.1.gz
|
||||||
PLIST_FILES= bin/sng bin/sng_regress
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
no-pre-patch:
|
no-pre-patch:
|
||||||
@${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
|
||||||
@${REINPLACE_CMD} -e '33,34s|^static ||' ${WRKSRC}/sngd.c
|
@${REINPLACE_CMD} -e '33,34s|^static ||' ${WRKSRC}/sngd.c
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${STAGEDIR}${PREFIX}/bin
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue