diff options
author | tijl <tijl@FreeBSD.org> | 2014-07-01 13:00:58 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-07-01 13:00:58 +0000 |
commit | 03e6b9c3c75724a5ce6dcbd8f272e94649423e59 (patch) | |
tree | 8bfa5767e8527504958d1c87d1c247802ced757b | |
parent | 7d365f0c6fe6935b2b1a317ec64c63e7f99c96cc (diff) | |
download | FreeBSD-ports-03e6b9c3c75724a5ce6dcbd8f272e94649423e59.zip FreeBSD-ports-03e6b9c3c75724a5ce6dcbd8f272e94649423e59.tar.gz |
- Convert to USES=libtool
- Avoid USE_AUTOTOOLS
- Fix detection of fontconfig and freetype
-rw-r--r-- | x11-toolkits/lesstif/Makefile | 20 | ||||
-rw-r--r-- | x11-toolkits/lesstif/pkg-plist | 8 |
2 files changed, 13 insertions, 15 deletions
diff --git a/x11-toolkits/lesstif/Makefile b/x11-toolkits/lesstif/Makefile index 220f121..9737244 100644 --- a/x11-toolkits/lesstif/Makefile +++ b/x11-toolkits/lesstif/Makefile @@ -3,7 +3,7 @@ PORTNAME= lesstif PORTVERSION= 0.95.2 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 2 CATEGORIES= x11-toolkits MASTER_SITES= SF @@ -16,20 +16,18 @@ LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ CONFLICTS?= open-motif-* -USES= tar:bzip2 -USE_AUTOTOOLS= automake:env autoconf libtool +USES= libtool tar:bzip2 USE_XORG= sm ice xt xp xext x11 xextproto xrender xft USE_LDCONFIG= yes -LIBTOOLFILES= aclocal.m4 test/aclocal.m4 -CONFIGURE_ARGS+= --enable-static --enable-shared --enable-production -CONFIGURE_ARGS+= --disable-maintainer-mode -CFLAGS+= -I${LOCALBASE}/include +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-static --enable-shared --enable-production \ + --disable-maintainer-mode \ + --with-fontconfig-lib=${LOCALBASE}/lib \ + --with-freetype-lib=${LOCALBASE}/lib post-patch: - ${REINPLACE_CMD} \ - -e 's|LT_HAVE_FREETYPE|FINDXFT_HAVE_FREETYPE|g' \ - -e 's|LT_HAVE_XRENDER|FINDXFT_HAVE_XRENDER|g' \ - ${WRKSRC}/acinclude.m4 + @${REINPLACE_CMD} 's,freetype/freetype.h,freetype.h,' \ + ${WRKSRC}/configure post-install: ${INSTALL_DATA} ${WRKSRC}/scripts/autoconf/ac_find_motif.m4 \ diff --git a/x11-toolkits/lesstif/pkg-plist b/x11-toolkits/lesstif/pkg-plist index cd3be5c..2636209 100644 --- a/x11-toolkits/lesstif/pkg-plist +++ b/x11-toolkits/lesstif/pkg-plist @@ -332,21 +332,21 @@ lib/X11/mwm/README lib/X11/mwm/alt.map lib/X11/mwm/system.mwmrc lib/libDtPrint.a -lib/libDtPrint.la lib/libDtPrint.so lib/libDtPrint.so.1 +lib/libDtPrint.so.1.0.0 lib/libMrm.a -lib/libMrm.la lib/libMrm.so lib/libMrm.so.2 +lib/libMrm.so.2.0.1 lib/libUil.a -lib/libUil.la lib/libUil.so lib/libUil.so.2 +lib/libUil.so.2.0.1 lib/libXm.a -lib/libXm.la lib/libXm.so lib/libXm.so.2 +lib/libXm.so.2.0.1 man/man1/lesstif.1.gz man/man1/ltversion.1.gz man/man1/mwm.1.gz |