mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
3e4ed01146
- 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)
45 lines
1003 B
Makefile
45 lines
1003 B
Makefile
# New ports collection makefile for: xpaint
|
|
# Date created: 2 Jan 1995
|
|
# Whom: swallace
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xpaint
|
|
PORTVERSION= 2.7.8.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF \
|
|
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_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>
|