blob: 734dec68a6fb7d8e81587d57020ab56fab459f6c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: xpaint
# Date created: 2 Jan 1995
# Whom: swallace
#
# $FreeBSD$
#
PORTNAME= xpaint
PORTVERSION= 2.7.8.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.ac-grenoble.fr/Office/
MASTER_SITE_SUBDIR= sf-${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple paint program
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
USE_BZIP2= yes
USE_IMAKE= yes
USE_XPM= yes
MAN1= xpaint.1
.if defined(WITH_NEXTAW)
LIB_DEPENDS+= neXtaw:${PORTSDIR}/x11-toolkits/neXtaw
XAW_INCDIR= ${X11BASE}/include/X11/neXtaw
XAW_LIBS= -lneXtaw
.else
LIB_DEPENDS+= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
XAW_INCDIR= ${X11BASE}/include/X11/Xaw3d
XAW_LIBS= -lXaw3d
.endif
pre-configure:
@cd ${WRKSRC} && ${LN} -sf ${XAW_INCDIR} xaw_incdir \
&& ${ECHO_CMD} -n > Local.xawdefs \
&& ${ECHO_CMD} "XAWLIB_DEFINES=-DXAW3D" >> Local.xawdefs \
&& ${ECHO_CMD} "SYS_LIBRARIES=${XAW_LIBS}" >> Local.xawdefs
.include <bsd.port.mk>
|