aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-04-29 02:20:55 +0800
committertijl <tijl@FreeBSD.org>2014-04-29 02:20:55 +0800
commitabf625f459b2b972252f67f4bf6ec2b63261a00c (patch)
treeb50b4a05a017e5478c3ce4786b16cbf5aa38525a /x11-toolkits
parent1ba67ad241a127efc7ab36870afa7ccbba7bcebb (diff)
downloadfreebsd-ports-gnome-abf625f459b2b972252f67f4bf6ec2b63261a00c.tar.gz
freebsd-ports-gnome-abf625f459b2b972252f67f4bf6ec2b63261a00c.tar.zst
freebsd-ports-gnome-abf625f459b2b972252f67f4bf6ec2b63261a00c.zip
- Convert to USES=libtool.
- Replace autogen.sh in pre-configure with normal USE_AUTOTOOLS. The script also ran ./configure so configure ran twice. - Remove --with-pic from CONFIGURE_ARGS. Not needed.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/open-motif/Makefile19
-rw-r--r--x11-toolkits/open-motif/pkg-plist3
2 files changed, 11 insertions, 11 deletions
diff --git a/x11-toolkits/open-motif/Makefile b/x11-toolkits/open-motif/Makefile
index 1a5d779543c6..987c83eb6f16 100644
--- a/x11-toolkits/open-motif/Makefile
+++ b/x11-toolkits/open-motif/Makefile
@@ -2,6 +2,7 @@
PORTNAME= open-motif
PORTVERSION= 2.3.4
+PORTREVISION= 1
CATEGORIES= x11-toolkits
# MASTER_SITES= SF/${PORTNAME}/Motif%202.3.4%20Source%20Code/
MASTER_SITES= SF/motif/Motif%202.3.4%20Source%20Code/
@@ -22,8 +23,11 @@ CONFLICTS= lesstif-[0-9]*
# WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WRKSRC= ${WRKDIR}/motif-${PORTVERSION}
-USES= iconv gmake pkgconfig
-USE_AUTOTOOLS= libtool autoconf:env automake:env
+USES= gmake iconv libtool:keepla pkgconfig
+USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
+ACLOCAL_ARGS= -I.
+AUTOMAKE_ARGS= -a -c -f --foreign
+LIBTOOLIZE_ARGS=-i -c -f
USE_XORG= xaw xbitmaps xft
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -33,11 +37,7 @@ USE_CSTD= gnu89
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
-CONFIGURE_ARGS+= --with-pic
-.endif
+.include <bsd.port.options.mk>
post-patch:
# fix sections
@@ -52,13 +52,10 @@ post-patch:
s|file formats|5|'
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/configure.ac
-pre-configure:
- cd ${WRKSRC} && ./autogen.sh
-
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in BUGREPORT README RELNOTES
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-toolkits/open-motif/pkg-plist b/x11-toolkits/open-motif/pkg-plist
index 3a89f33142b5..238a2eb995f6 100644
--- a/x11-toolkits/open-motif/pkg-plist
+++ b/x11-toolkits/open-motif/pkg-plist
@@ -277,14 +277,17 @@ lib/libMrm.a
lib/libMrm.la
lib/libMrm.so
lib/libMrm.so.4
+lib/libMrm.so.4.0.4
lib/libUil.a
lib/libUil.la
lib/libUil.so
lib/libUil.so.4
+lib/libUil.so.4.0.4
lib/libXm.a
lib/libXm.la
lib/libXm.so
lib/libXm.so.4
+lib/libXm.so.4.0.4
man/man1/mwm.1.gz
man/man1/uil.1.gz
man/man1/xmbind.1.gz