diff options
author | miwi <miwi@FreeBSD.org> | 2006-08-15 23:08:39 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-08-15 23:08:39 +0800 |
commit | 9ccf665f66ba94b2a6108e60f1f287a59ffac143 (patch) | |
tree | acdc9a97fc55b3856487a9f0ada7e68a4ac88fc0 /chinese/vflib/Makefile | |
parent | 4ea97e69296720dfa4ee90fd063d603cd564de0e (diff) | |
download | freebsd-ports-graphics-9ccf665f66ba94b2a6108e60f1f287a59ffac143.tar.gz freebsd-ports-graphics-9ccf665f66ba94b2a6108e60f1f287a59ffac143.tar.zst freebsd-ports-graphics-9ccf665f66ba94b2a6108e60f1f287a59ffac143.zip |
- Respect DESTDIR
- Specify and use DATADIR
PR: ports/101935
Submitted by: Gea-Suan Lin <gslin(at)gslin.org>
Approved by: krion (mentor)
Diffstat (limited to 'chinese/vflib/Makefile')
-rw-r--r-- | chinese/vflib/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/chinese/vflib/Makefile b/chinese/vflib/Makefile index 933731809fa..7da99e54260 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> |