diff options
-rw-r--r-- | x11-toolkits/gtkmathview/Makefile | 14 | ||||
-rw-r--r-- | x11-toolkits/gtkmathview/pkg-plist | 8 |
2 files changed, 8 insertions, 14 deletions
diff --git a/x11-toolkits/gtkmathview/Makefile b/x11-toolkits/gtkmathview/Makefile index c0fca078e994..6a0de6f850d9 100644 --- a/x11-toolkits/gtkmathview/Makefile +++ b/x11-toolkits/gtkmathview/Makefile @@ -24,23 +24,17 @@ USE_GETOPT_LONG= yes USE_X_PREFIX= yes USE_GNOME= glib12 gtk12 USE_LIBTOOL= yes +CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT +LDFLAGS= -L${LOCALBASE}/lib +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" USE_GMAKE= yes INSTALLS_SHLIB= yes MAN1= mathmlviewer.1 mathml2ps.1 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500000 -BROKEN= Does not build on FreeBSD 5.x -.endif - post-patch: .for file in src/stringAux.cc src/PS_T1_FontManager.cc @${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/${file} .endfor -post-install: - @install-info ${PREFIX}/info/gtkmathview.info ${PREFIX}/info/dir - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/gtkmathview/pkg-plist b/x11-toolkits/gtkmathview/pkg-plist index 8ff5c301a478..90331889c7d2 100644 --- a/x11-toolkits/gtkmathview/pkg-plist +++ b/x11-toolkits/gtkmathview/pkg-plist @@ -5,11 +5,10 @@ include/gtkmathview/defs.h include/gtkmathview/gtkmathview.h @dirrm include/gtkmathview lib/libgtkmathview.a +lib/libgtkmathview.la lib/libgtkmathview.so -lib/libgtkmathview.so.3 -@unexec install-info --delete %D/info/gtkmathview.info %D/info/dir -info/gtkmathview.info -@exec install-info %D/info/gtkmathview.info %D/info/dir +lib/libgtkmathview.so.4 +lib/pkgconfig/gtkmathview.pc share/gtkmathview/dictionary-combining.xml share/gtkmathview/dictionary-local.xml share/gtkmathview/dictionary.dtd @@ -28,3 +27,4 @@ share/gtkmathview/math-engine-configuration.dtd share/gtkmathview/math-engine-configuration.xml share/gtkmathview/t1.config @dirrm share/gtkmathview +@unexec rmdir %D/lib/pkgconfig 2>/dev/null || true |