freebsd-ports/graphics/xpaint/Makefile

45 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: xpaint
# Date created: 2 Jan 1995
# Whom: swallace
#
1999-08-25 08:16:32 +02:00
# $FreeBSD$
#
PORTNAME= xpaint
PORTVERSION= 2.7.8.1
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${PORTVERSION} \
ftp://ftp.ac-grenoble.fr/Office/
2001-03-08 20:52:25 +01:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 19:08:19 +01:00
COMMENT= A simple paint program
1997-02-05 08:34:36 +01:00
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
USE_BZIP2= yes
USE_IMAKE= yes
USE_XORG= xpm
MAN1= xpaint.1
.if defined(WITH_NEXTAW)
LIB_DEPENDS+= neXtaw:${PORTSDIR}/x11-toolkits/neXtaw
XAW_INCDIR= ${LOCALBASE}/include/X11/neXtaw
XAW_LIBS= -lneXtaw
.else
LIB_DEPENDS+= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
XAW_INCDIR= ${LOCALBASE}/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>