diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-09-20 07:10:09 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-09-20 07:10:09 +0000 |
commit | 4dff330d3b2877e5a33ed6c860ce1924bae48d99 (patch) | |
tree | 6ac3e6e628108d347f9678347c0bf2368e0ce5ac /graphics/qslim | |
parent | 8f9ed65d7aa89bdbd2c55d48b7ddcd5d43768a36 (diff) | |
download | ports-4dff330d3b2877e5a33ed6c860ce1924bae48d99.tar.gz ports-4dff330d3b2877e5a33ed6c860ce1924bae48d99.zip |
Notes
Diffstat (limited to 'graphics/qslim')
-rw-r--r-- | graphics/qslim/Makefile | 34 | ||||
-rw-r--r-- | graphics/qslim/pkg-plist | 2 |
2 files changed, 21 insertions, 15 deletions
diff --git a/graphics/qslim/Makefile b/graphics/qslim/Makefile index 32bd69a11210..3cf745d0266a 100644 --- a/graphics/qslim/Makefile +++ b/graphics/qslim/Makefile @@ -13,25 +13,32 @@ MASTER_SITES= http://graphics.cs.uiuc.edu/~garland/dist/ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms \ - gnugetopt:${PORTSDIR}/devel/libgnugetopt \ - tiff:${PORTSDIR}/graphics/tiff \ - png:${PORTSDIR}/graphics/png +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ + png.5:${PORTSDIR}/graphics/png \ + tiff.4:${PORTSDIR}/graphics/tiff \ + forms.1:${PORTSDIR}/x11-toolkits/xforms -USE_REINPLACE= yes -USE_MESA= yes -USE_XLIB= yes CONFIGURE_WRKSRC= ${WRKSRC}/mixkit/build -GNU_CONFIGURE= yes -CONFIGURE_ENV= \ - CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include -I${X11BASE}/include/X11 ${PTHREAD_CFLAGS}" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib ${PTHREAD_LIBS}" BUILD_WRKSRC= ${WRKSRC}/mixkit/src + +USE_MESA= yes +USE_REINPLACE= yes USE_GMAKE= yes -ALL_TARGET= # empty +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +ALL_TARGET= # none + +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include \ + -I${X11BASE}/include/X11 ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib \ + ${PTHREAD_LIBS} + +post-extact: + @${RM} -f ${WRKSRC}/mixkit/src/getopt.h post-patch: - @${REINPLACE_CMD} -e "s,\@XFORMS_LIBS\@,-lforms -lformsGL -lXpm,g" ${CONFIGURE_WRKSRC}/mix-config.in + @${REINPLACE_CMD} -e 's|\@XFORMS_LIBS\@|-lforms -lformsGL -lXpm|g' \ + ${CONFIGURE_WRKSRC}/mix-config.in post-build: @(cd ${BUILD_WRKSRC}/../../tools/qslim ; ${GMAKE} all) @@ -43,6 +50,5 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tools/qslim/qvis ${PREFIX}/bin @${MKDIR} ${PREFIX}/include/mixkit ${INSTALL_DATA} ${WRKSRC}/mixkit/src/*.h ${PREFIX}/include/mixkit - @${RM} -f ${PREFIX}/include/mixkit/getopt.h .include <bsd.port.mk> diff --git a/graphics/qslim/pkg-plist b/graphics/qslim/pkg-plist index cd831d6cba4f..e4af9540ce64 100644 --- a/graphics/qslim/pkg-plist +++ b/graphics/qslim/pkg-plist @@ -1,6 +1,5 @@ bin/qslim bin/qvis -lib/libmix.a include/mixkit/MxArcball.h include/mixkit/MxAsp.h include/mixkit/MxBlock.h @@ -46,4 +45,5 @@ include/mixkit/mixmops.h include/mixkit/mixmsg.h include/mixkit/mixvops.h include/mixkit/stdmix.h +lib/libmix.a @dirrm include/mixkit |