mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00: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
@ -12,7 +12,7 @@ COMMENT= Compiler/decompiler for Scriptable Network Graphics
|
||||
|
||||
BUILD_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
|
||||
CFLAGS+= -I${LOCALBASE}/include/libpng15
|
||||
@ -20,15 +20,13 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
|
||||
--with-rgbtxt=${LOCALBASE}/lib/X11/rgb.txt
|
||||
|
||||
MAN1= sng.1
|
||||
PLIST_FILES= bin/sng bin/sng_regress
|
||||
PLIST_FILES= bin/sng bin/sng_regress man/man1/sng.1.gz
|
||||
|
||||
NO_STAGE= yes
|
||||
no-pre-patch:
|
||||
@${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e '33,34s|^static ||' ${WRKSRC}/sngd.c
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user