- Stage support

- New LIB_DEPENDS syntax
This commit is contained in:
Antoine Brodin 2014-01-09 21:59:55 +00:00
parent 8da3bed1cc
commit f9df959029
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339292

View File

@ -10,24 +10,19 @@ MASTER_SITES= http://www.tastyrabbit.net/visprint/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Creates fractal fingerprint images based on any data
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lpng
MANCOMPRESSED= yes
PLIST_FILES= bin/visprint man/man1/visprint.1.gz
PLIST_FILES= bin/visprint
MAN1= visprint.1
NO_STAGE= yes
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -c visprint.c)
(cd ${WRKSRC} && ${CC} ${LDFLAGS} visprint.o -o visprint)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/visprint ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/visprint.1.gz ${PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/visprint ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/visprint.1.gz ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>