1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1998-12-28 14:00:56 +01:00
|
|
|
|
2012-11-06 23:50:46 +01:00
|
|
|
PORTNAME= open-motif
|
2017-12-06 16:26:00 +01:00
|
|
|
PORTVERSION= 2.3.8
|
2019-09-30 06:35:19 +02:00
|
|
|
PORTREVISION= 1
|
1998-12-28 14:00:56 +01:00
|
|
|
CATEGORIES= x11-toolkits
|
2012-11-07 00:30:46 +01:00
|
|
|
# MASTER_SITES= SF/${PORTNAME}/Motif%202.3.4%20Source%20Code/
|
2017-12-06 16:19:36 +01:00
|
|
|
MASTER_SITES= SF/motif/Motif%20${PORTVERSION}%20Source%20Code/
|
2016-03-17 20:42:19 +01:00
|
|
|
DISTNAME= motif-${PORTVERSION}
|
2000-07-19 14:58:57 +02:00
|
|
|
|
2016-03-17 20:42:19 +01:00
|
|
|
MAINTAINER= cy@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Motif X11 Toolkit (industry standard GUI (IEEE 1295))
|
2000-07-19 14:58:57 +02:00
|
|
|
|
2012-11-06 20:48:09 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2009-06-12 05:47:14 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2012-11-07 00:35:00 +01:00
|
|
|
CONFLICTS= lesstif-[0-9]*
|
2009-06-12 05:47:14 +02:00
|
|
|
|
2019-09-29 06:46:33 +02:00
|
|
|
USES= autoreconf gmake iconv jpeg libtool:keepla pkgconfig xorg
|
2016-06-11 07:33:36 +02:00
|
|
|
USE_XORG= x11 xaw xbitmaps xext xft xt xmu xrender sm ice
|
2019-09-30 06:35:19 +02:00
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
2016-07-09 06:58:19 +02:00
|
|
|
libfreetype.so:print/freetype2 \
|
2017-12-01 08:19:53 +01:00
|
|
|
libpng.so:graphics/png
|
2002-09-13 20:42:27 +02:00
|
|
|
GNU_CONFIGURE= 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_LDCONFIG= yes
|
2019-09-30 06:35:19 +02:00
|
|
|
CONFIGURE_ARGS= --enable-printing=no
|
2012-09-13 10:05:31 +02:00
|
|
|
CPPFLAGS+= -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I${PREFIX}/include
|
2011-06-21 16:50:01 +02:00
|
|
|
USE_CSTD= gnu89
|
2014-12-18 13:06:30 +01:00
|
|
|
INSTALL_TARGET= install-strip
|
2002-09-13 20:42:27 +02:00
|
|
|
|
2014-02-19 22:40:52 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2005-03-10 17:28:14 +01:00
|
|
|
|
2000-07-19 14:58:57 +02:00
|
|
|
post-patch:
|
|
|
|
# fix sections
|
2002-09-21 08:58:29 +02:00
|
|
|
@${FIND} ${WRKSRC}/doc/man/man1 -name '*.1' -maxdepth 1 | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} -e 's|user cmd|1|'
|
|
|
|
@${FIND} ${WRKSRC}/doc/man/man3 -name '*.3' -maxdepth 1 | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} -e 's|library call|3|'
|
2000-07-19 14:58:57 +02:00
|
|
|
# mwmrc is not a kernel interface!!
|
2002-09-13 20:42:27 +02:00
|
|
|
@cd ${WRKSRC}/doc/man && ${CP} -f man4/mwmrc.4 man5/mwmrc.5
|
2002-09-21 08:58:29 +02:00
|
|
|
@${FIND} ${WRKSRC}/doc/man/man5 -name '*.5' -maxdepth 1 | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} -e 's|special file|5| ; \
|
|
|
|
s|file formats|5|'
|
2012-12-03 19:25:44 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/configure.ac
|
2012-11-06 20:48:09 +01:00
|
|
|
|
2002-09-13 20:42:27 +02:00
|
|
|
post-install:
|
2014-02-19 22:40:52 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2012-11-06 20:48:09 +01:00
|
|
|
.for i in BUGREPORT README RELNOTES
|
2014-02-19 22:40:52 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
2002-09-13 20:42:27 +02:00
|
|
|
.endfor
|
2000-07-19 14:58:57 +02:00
|
|
|
|
2014-04-28 20:20:55 +02:00
|
|
|
.include <bsd.port.mk>
|