d26cf36e57
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.54 2006/12/27 13:37:38 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= tgif-4.1.45
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/free-of-charge/
|
|
|
|
MAINTAINER= dmcmahill@NetBSD.org
|
|
HOMEPAGE= http://bourbon.usc.edu/tgif/tgif.html
|
|
COMMENT= Fully-featured X11 drawing program
|
|
|
|
USE_IMAKE= yes
|
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "DragonFly"
|
|
OS_TEMPLATE= ${WRKSRC}/Tgif.tmpl-freebsd
|
|
.else
|
|
OS_TEMPLATE= ${WRKSRC}/Tgif.tmpl-${LOWER_OPSYS}
|
|
.endif
|
|
|
|
post-patch::
|
|
@${RM} -f ${WRKSRC}/Tgif.tmpl
|
|
@${CP} ${OS_TEMPLATE} ${WRKSRC}/Tgif.tmpl
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
# avoid "xmkmf -a" on Solaris which runs makedepend because the
|
|
# openwindows makedepend program can't handle the number of
|
|
# files. We should probably have a replacement makedepend in
|
|
# pkgsrc.
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} == "SunOS"
|
|
XMKMF= ${XMKMF_CMD}
|
|
.endif
|