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
|
2012-11-06 20:48:09 +01:00
|
|
|
PORTVERSION= 2.3.4
|
2014-04-28 20:20:55 +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/
|
|
|
|
MASTER_SITES= SF/motif/Motif%202.3.4%20Source%20Code/
|
2012-11-06 20:48:09 +01:00
|
|
|
DISTNAME= motif-${PORTVERSION}-src
|
2000-07-19 14:58:57 +02:00
|
|
|
|
2011-05-02 14:40:24 +02:00
|
|
|
MAINTAINER= m.tsatsenko@gmail.com
|
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
|
|
|
|
|
2014-02-19 22:40:52 +01:00
|
|
|
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
|
|
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg
|
2011-05-02 14:40:24 +02:00
|
|
|
|
2009-06-12 05:47:14 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2012-11-07 00:35:00 +01:00
|
|
|
CONFLICTS= lesstif-[0-9]*
|
2012-11-07 00:30:46 +01:00
|
|
|
# WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
WRKSRC= ${WRKDIR}/motif-${PORTVERSION}
|
2009-06-12 05:47:14 +02:00
|
|
|
|
2014-07-29 21:11:51 +02:00
|
|
|
USES= gmake iconv libtool:keepla pkgconfig tar:tgz
|
2014-04-28 20:20:55 +02:00
|
|
|
USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
|
|
|
|
ACLOCAL_ARGS= -I.
|
|
|
|
AUTOMAKE_ARGS= -a -c -f --foreign
|
2014-06-22 12:44:29 +02:00
|
|
|
USE_XORG= x11 xaw xbitmaps xext xft xt
|
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
|
2002-09-17 21:21:16 +02:00
|
|
|
MAKE_ENV= LANG=C
|
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
|
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
|
|
|
|
2014-04-28 20:20:55 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2004-12-24 07:34:45 +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>
|