2000-03-21 16:45:59 +01:00
|
|
|
# New ports collection makefile for: xpaint
|
|
|
|
# Date created: 2 Jan 1995
|
|
|
|
# Whom: swallace
|
1995-01-02 23:55:12 +01:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1995-01-02 23:55:12 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= xpaint
|
2005-09-16 13:04:49 +02:00
|
|
|
PORTVERSION= 2.7.8.1
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 4
|
1998-11-21 08:27:41 +01:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${PORTVERSION} \
|
2002-11-20 13:53:58 +01:00
|
|
|
ftp://ftp.ac-grenoble.fr/Office/
|
2009-08-22 02:23:13 +02:00
|
|
|
|
1995-04-09 09:09:55 +02:00
|
|
|
|
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
|
|
|
|
2010-03-28 08:47:48 +02:00
|
|
|
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
|
2005-04-03 23:39:28 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
1995-04-09 09:09:55 +02:00
|
|
|
|
2002-11-20 13:53:58 +01:00
|
|
|
USE_BZIP2= yes
|
2000-03-21 16:45:59 +01:00
|
|
|
USE_IMAKE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xpm
|
1995-01-02 23:55:12 +01:00
|
|
|
|
2003-01-02 18:40:31 +01:00
|
|
|
MAN1= xpaint.1
|
2002-11-20 13:53:58 +01:00
|
|
|
|
2005-04-03 23:39:28 +02:00
|
|
|
.if defined(WITH_NEXTAW)
|
2005-04-10 19:10:49 +02:00
|
|
|
LIB_DEPENDS+= neXtaw:${PORTSDIR}/x11-toolkits/neXtaw
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
XAW_INCDIR= ${LOCALBASE}/include/X11/neXtaw
|
2005-08-30 03:56:23 +02:00
|
|
|
XAW_LIBS= -lneXtaw
|
2005-04-03 23:39:28 +02:00
|
|
|
.else
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
LIB_DEPENDS+= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
|
|
|
|
XAW_INCDIR= ${LOCALBASE}/include/X11/Xaw3d
|
2005-08-30 03:56:23 +02:00
|
|
|
XAW_LIBS= -lXaw3d
|
2005-04-03 23:39:28 +02:00
|
|
|
.endif
|
|
|
|
|
2005-03-15 17:56:29 +01:00
|
|
|
pre-configure:
|
2005-08-30 03:56:23 +02:00
|
|
|
@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
|
2005-03-15 17:56:29 +01:00
|
|
|
|
1995-01-02 23:55:12 +01:00
|
|
|
.include <bsd.port.mk>
|