diff options
-rw-r--r-- | chinese/vflib/Makefile | 17 | ||||
-rw-r--r-- | chinese/vflib/pkg-plist | 31 |
2 files changed, 25 insertions, 23 deletions
diff --git a/chinese/vflib/Makefile b/chinese/vflib/Makefile index 933731809fa0..7da99e542603 100644 --- a/chinese/vflib/Makefile +++ b/chinese/vflib/Makefile @@ -26,13 +26,14 @@ BUILD_DEPENDS= xmkmf:${X_IMAKE_PORT} VFLIB_VERSION= 2.25.1 PLIST_SUB= VFLIB_VERSION=${VFLIB_VERSION} +DATADIR= ${TARGETDIR}/share/VFlib GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-freetype \ + --with-freetype-includedir=${LOCALBASE}/include/freetype1/freetype \ + --with-freetype-libdir=${LOCALBASE}/lib USE_FREETYPE= yes USE_XLIB= yes USE_LDCONFIG= yes -CONFIGURE_ARGS= --with-freetype \ - --with-freetype-includedir=${PREFIX}/include/freetype1/freetype \ - --with-freetype-libdir=${PREFIX}/lib .include <bsd.port.pre.mk> @@ -44,13 +45,13 @@ post-patch: pre-install: @(cd ${WRKSRC}/tools; \ - ${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${PREFIX}/bin) + ${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${TARGETDIR}/bin) @(cd ${WRKSRC}; \ - ${MKDIR} ${PREFIX}/share/VFlib/${VFLIB_VERSION} ;\ - ${CP} COPYING COPYING.LIB README.txt.JP_EUC \ - ${PREFIX}/share/VFlib/${VFLIB_VERSION}) + ${MKDIR} ${DATADIR}/${VFLIB_VERSION} ;\ + ${CP} COPYING COPYING.LIB README.txt.JP_EUC \ + ${DATADIR}/${VFLIB_VERSION}) post-install: - ${MV} ${PREFIX}/share/VFlib/${VFLIB_VERSION}/VF.h ${PREFIX}/include + ${MV} ${DATADIR}/${VFLIB_VERSION}/VF.h ${TARGETDIR}/include .include <bsd.port.post.mk> diff --git a/chinese/vflib/pkg-plist b/chinese/vflib/pkg-plist index d742a64ddada..390f4e4f2679 100644 --- a/chinese/vflib/pkg-plist +++ b/chinese/vflib/pkg-plist @@ -1,3 +1,16 @@ +@comment $FreeBSD$ +%%DATADIR%%/%%VFLIB_VERSION%%/COPYING +%%DATADIR%%/%%VFLIB_VERSION%%/COPYING.LIB +%%DATADIR%%/%%VFLIB_VERSION%%/QA-english.tex +%%DATADIR%%/%%VFLIB_VERSION%%/QA.txt +%%DATADIR%%/%%VFLIB_VERSION%%/README.txt.JP_EUC +%%DATADIR%%/%%VFLIB_VERSION%%/man.dvi +%%DATADIR%%/%%VFLIB_VERSION%%/man.ps +%%DATADIR%%/%%VFLIB_VERSION%%/vfontcap +%%DATADIR%%/%%VFLIB_VERSION%%/vfontcap.ORG +%%DATADIR%%/%%VFLIB_VERSION%%/vfontcap.bdf +%%DATADIR%%/%%VFLIB_VERSION%%/vfontcap.comp2 +%%DATADIR%%/%%VFLIB_VERSION%%/vfontcap.mgp bin/VFlib2-config bin/bdfindex bin/disol @@ -10,20 +23,8 @@ bin/vfperf bin/vftest include/VF.h lib/libVFlib2.so.24.1 +lib/libVFlib2.la @exec /bin/ln -fs %D/%F %D/lib/libVFlib2.so @unexec /bin/rm -f %D/lib/libVFlib2.so -lib/libVFlib2.la -share/VFlib/%%VFLIB_VERSION%%/README.txt.JP_EUC -share/VFlib/%%VFLIB_VERSION%%/COPYING.LIB -share/VFlib/%%VFLIB_VERSION%%/COPYING -share/VFlib/%%VFLIB_VERSION%%/vfontcap.mgp -share/VFlib/%%VFLIB_VERSION%%/vfontcap.comp2 -share/VFlib/%%VFLIB_VERSION%%/vfontcap.bdf -share/VFlib/%%VFLIB_VERSION%%/vfontcap.ORG -share/VFlib/%%VFLIB_VERSION%%/vfontcap -share/VFlib/%%VFLIB_VERSION%%/QA.txt -share/VFlib/%%VFLIB_VERSION%%/QA-english.tex -share/VFlib/%%VFLIB_VERSION%%/man.ps -share/VFlib/%%VFLIB_VERSION%%/man.dvi -@dirrm share/VFlib/%%VFLIB_VERSION%% -@dirrm share/VFlib +@dirrm %%DATADIR%%/%%VFLIB_VERSION%% +@dirrm %%DATADIR%% |