aboutsummaryrefslogtreecommitdiff
path: root/chinese/vflib/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-01-19 11:05:14 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-01-19 11:05:14 +0000
commitb9833cd0a0f93b9672c733c82e0582f59c3ec4aa (patch)
treeb057032b36e37c69293a3c2855bedccc9c80380c /chinese/vflib/Makefile
parent9b2cb3853809d4d6678d1d4d49d067e8c3d873fc (diff)
- Update to 2.25.6
- Add patches to fix build on gcc 4.x - Update WWW
Notes
Notes: svn path=/head/; revision=182794
Diffstat (limited to 'chinese/vflib/Makefile')
-rw-r--r--chinese/vflib/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/chinese/vflib/Makefile b/chinese/vflib/Makefile
index 7da99e542603..a4e8102d498f 100644
--- a/chinese/vflib/Makefile
+++ b/chinese/vflib/Makefile
@@ -23,7 +23,7 @@ COMMENT= Vector font library with free vector font, BIG5 and GB supported
BUILD_DEPENDS= xmkmf:${X_IMAKE_PORT}
-VFLIB_VERSION= 2.25.1
+VFLIB_VERSION= 2.25.6
PLIST_SUB= VFLIB_VERSION=${VFLIB_VERSION}
DATADIR= ${TARGETDIR}/share/VFlib
@@ -34,6 +34,7 @@ CONFIGURE_ARGS= --with-freetype \
USE_FREETYPE= yes
USE_XLIB= yes
USE_LDCONFIG= yes
+USE_GETTEXT= yes
.include <bsd.port.pre.mk>
@@ -42,16 +43,15 @@ pre-patch:
post-patch:
${REINPLACE_CMD} -e "s,varargs.h,stdarg.h," ${WRKSRC}/tools/disol.c
+ ${REINPLACE_CMD} -e "s,^vflib2_version=.*,vflib2_version='${VFLIB_VERSION}'," ${WRKSRC}/configure
-pre-install:
+post-install:
@(cd ${WRKSRC}/tools; \
${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${TARGETDIR}/bin)
@(cd ${WRKSRC}; \
${MKDIR} ${DATADIR}/${VFLIB_VERSION} ;\
${CP} COPYING COPYING.LIB README.txt.JP_EUC \
${DATADIR}/${VFLIB_VERSION})
-
-post-install:
${MV} ${DATADIR}/${VFLIB_VERSION}/VF.h ${TARGETDIR}/include
.include <bsd.port.post.mk>