svn commit: r341107 - head/graphics/libgfx
Baptiste Daroussin
bapt at FreeBSD.org
Sat Jan 25 21:18:34 UTC 2014
Author: bapt
Date: Sat Jan 25 21:18:33 2014
New Revision: 341107
URL: http://svnweb.freebsd.org/changeset/ports/341107
QAT: https://qat.redports.org/buildarchive/r341107/
Log:
Support stage
Modernize LIB_DEPENDS
USE_GMAKE -> USES=gmake
Modified:
head/graphics/libgfx/Makefile
Modified: head/graphics/libgfx/Makefile
==============================================================================
--- head/graphics/libgfx/Makefile Sat Jan 25 21:15:01 2014 (r341106)
+++ head/graphics/libgfx/Makefile Sat Jan 25 21:18:33 2014 (r341107)
@@ -12,16 +12,16 @@ COMMENT= OpenGL/FLTK development
LICENSE= MIT
-LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk \
- tiff:${PORTSDIR}/graphics/tiff \
- png15:${PORTSDIR}/graphics/png \
- gzstream:${PORTSDIR}/devel/gzstream \
- jpeg:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
+ libtiff.so:${PORTSDIR}/graphics/tiff \
+ libpng15.so:${PORTSDIR}/graphics/png \
+ libgzstream.so:${PORTSDIR}/devel/gzstream \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg
BUILD_WRKSRC= ${WRKSRC}/src
+USES= gmake
USE_GL= glu
-USE_GMAKE= yes
USE_XORG= x11 xext xft xinerama
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gzstream --with-libtiff-lzw --with-x
@@ -32,7 +32,6 @@ CFLAGS+= -fPIC
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
'/^CC /d ; \
@@ -45,8 +44,8 @@ post-patch:
'/^FLTK_LIBS/s|"-lfltk"|"`fltk-config --ldflags`"|' ${WRKSRC}/configure
do-install:
- @(cd ${WRKSRC}/include/gfx && ${COPYTREE_SHARE} . ${PREFIX}/include/gfx)
- ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}.so ${PREFIX}/lib
- @${LN} -sf ${PORTNAME}.so ${PREFIX}/lib/${PORTNAME}.so.0
+ @(cd ${WRKSRC}/include/gfx && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/gfx)
+ ${INSTALL_LIB} ${WRKSRC}/src/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib
+ @${LN} -sf ${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list