View | Details | Raw Unified | Return to bug 42899
Collapse All | Expand All

(-)graphics/qslim/Makefile (-14 / +20 lines)
Lines 13-37 Link Here
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
15
16
LIB_DEPENDS=	forms.1:${PORTSDIR}/x11-toolkits/xforms \
16
LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
17
		gnugetopt:${PORTSDIR}/devel/libgnugetopt \
17
		png.5:${PORTSDIR}/graphics/png \
18
		tiff:${PORTSDIR}/graphics/tiff \
18
		tiff.4:${PORTSDIR}/graphics/tiff \
19
		png:${PORTSDIR}/graphics/png
19
		forms.1:${PORTSDIR}/x11-toolkits/xforms
20
20
21
USE_REINPLACE=	yes
22
USE_MESA=	yes
23
USE_XLIB=	yes
24
CONFIGURE_WRKSRC=	${WRKSRC}/mixkit/build
21
CONFIGURE_WRKSRC=	${WRKSRC}/mixkit/build
25
GNU_CONFIGURE=	yes
26
CONFIGURE_ENV=	\
27
	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include -I${X11BASE}/include/X11 ${PTHREAD_CFLAGS}" \
28
	LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib ${PTHREAD_LIBS}"
29
BUILD_WRKSRC=	${WRKSRC}/mixkit/src
22
BUILD_WRKSRC=	${WRKSRC}/mixkit/src
23
24
USE_MESA=	yes
25
USE_REINPLACE=	yes
30
USE_GMAKE=	yes
26
USE_GMAKE=	yes
31
ALL_TARGET=	# empty
27
GNU_CONFIGURE=	yes
28
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
29
ALL_TARGET=	# none
30
31
CPPFLAGS=	-I${LOCALBASE}/include -I${X11BASE}/include \
32
		-I${X11BASE}/include/X11 ${PTHREAD_CFLAGS}
33
LDFLAGS=	-L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib \
34
		${PTHREAD_LIBS}
35
36
post-extact:
37
	@${RM} -f ${WRKSRC}/mixkit/src/getopt.h
32
38
33
post-patch:
39
post-patch:
34
	@${REINPLACE_CMD} -e "s,\@XFORMS_LIBS\@,-lforms -lformsGL -lXpm,g" ${CONFIGURE_WRKSRC}/mix-config.in
40
	@${REINPLACE_CMD} -e 's|\@XFORMS_LIBS\@|-lforms -lformsGL -lXpm|g' \
41
		${CONFIGURE_WRKSRC}/mix-config.in
35
42
36
post-build:
43
post-build:
37
	@(cd ${BUILD_WRKSRC}/../../tools/qslim ; ${GMAKE} all)
44
	@(cd ${BUILD_WRKSRC}/../../tools/qslim ; ${GMAKE} all)
Lines 43-48 Link Here
43
	${INSTALL_PROGRAM} ${WRKSRC}/tools/qslim/qvis ${PREFIX}/bin
50
	${INSTALL_PROGRAM} ${WRKSRC}/tools/qslim/qvis ${PREFIX}/bin
44
	@${MKDIR} ${PREFIX}/include/mixkit
51
	@${MKDIR} ${PREFIX}/include/mixkit
45
	${INSTALL_DATA} ${WRKSRC}/mixkit/src/*.h ${PREFIX}/include/mixkit
52
	${INSTALL_DATA} ${WRKSRC}/mixkit/src/*.h ${PREFIX}/include/mixkit
46
	@${RM} -f ${PREFIX}/include/mixkit/getopt.h
47
53
48
.include <bsd.port.mk>
54
.include <bsd.port.mk>
(-)graphics/qslim/pkg-plist (-1 / +1 lines)
Lines 1-6 Link Here
1
bin/qslim
1
bin/qslim
2
bin/qvis
2
bin/qvis
3
lib/libmix.a
4
include/mixkit/MxArcball.h
3
include/mixkit/MxArcball.h
5
include/mixkit/MxAsp.h
4
include/mixkit/MxAsp.h
6
include/mixkit/MxBlock.h
5
include/mixkit/MxBlock.h
Lines 46-49 Link Here
46
include/mixkit/mixmsg.h
45
include/mixkit/mixmsg.h
47
include/mixkit/mixvops.h
46
include/mixkit/mixvops.h
48
include/mixkit/stdmix.h
47
include/mixkit/stdmix.h
48
lib/libmix.a
49
@dirrm include/mixkit
49
@dirrm include/mixkit

Return to bug 42899