diff options
author | hrs <hrs@FreeBSD.org> | 2013-10-16 12:56:32 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-10-16 12:56:32 +0800 |
commit | 73527ab4b063e470f9264ad93d14c00402ed2981 (patch) | |
tree | b86b884adffab535711c1d1607d506b110aa1fa2 /japanese/font-shinonome/Makefile | |
parent | fcb71ec0c24df1e103ae975549fc45a2f46a5e60 (diff) | |
download | freebsd-ports-gnome-73527ab4b063e470f9264ad93d14c00402ed2981.tar.gz freebsd-ports-gnome-73527ab4b063e470f9264ad93d14c00402ed2981.tar.zst freebsd-ports-gnome-73527ab4b063e470f9264ad93d14c00402ed2981.zip |
- Add STAGEDIR support.
- Update to 20130617 (japanese/font-migmix)
- Update to 456 (japanese/font-ume)
Diffstat (limited to 'japanese/font-shinonome/Makefile')
-rw-r--r-- | japanese/font-shinonome/Makefile | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/japanese/font-shinonome/Makefile b/japanese/font-shinonome/Makefile index 83f259d6cd5d..98a3cc430034 100644 --- a/japanese/font-shinonome/Makefile +++ b/japanese/font-shinonome/Makefile @@ -1,11 +1,12 @@ # Created by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp> # $FreeBSD$ -PORTNAME= font-shinonome +PORTNAME= shinonome PORTVERSION= 0.9.11.p1 CATEGORIES= japanese x11-fonts MASTER_SITES= http://openlab.jp/efont/dist/shinonome/%SUBDIR%/ MASTER_SITE_SUBDIR= . old +PKGNAMEPREFIX= ja-font- DISTNAME= ${PORTNAME:C/^font-//}-${PORTVERSION:C/.p/p/} MAINTAINER= hrs@FreeBSD.org @@ -19,6 +20,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME:C/^font-//}-${PORTVERSION:C/.p.*$//} USE_BZIP2= yes PLIST_SUB= X_FONTSDIR=${X_FONTSDIR} \ LOCAL_FONTSDIR=${LOCAL_FONTSDIR} +DATADIR= ${PREFIX}/share/font-${PORTNAME} SUB_FILES= pkg-install SUB_LIST= X_FONTSDIR=${PREFIX}/${X_FONTSDIR} \ FONTSALIAS=${DATADIR}/fonts.alias @@ -51,7 +53,6 @@ FONTNAMES=\ OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> do-build: @@ -63,18 +64,23 @@ do-build: @${ECHO_CMD} "Done" do-install: - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${FONTNAMES:C/$/.pcf.gz/} fonts.alias ${DATADIR} - ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/shinonome - ${LN} -s -f ${DATADIR}/*.pcf.gz ${PREFIX}/${LOCAL_FONTSDIR}/shinonome/ - ${MKDIR} ${PREFIX}/${X_FONTSDIR}/misc - ${LN} -s -f ${DATADIR}/*.pcf.gz ${PREFIX}/${X_FONTSDIR}/misc/ + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${FONTNAMES:C/$/.pcf.gz/} fonts.alias \ + ${STAGEDIR}${DATADIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/${LOCAL_FONTSDIR}/shinonome + cd ${STAGEDIR}${PREFIX}/${LOCAL_FONTSDIR}/shinonome && ${LN} -s -f \ + ../${LOCAL_FONTSDIR:C,[^/]+,..,g}/${DATADIR_REL}/*.pcf.gz . + ${MKDIR} ${STAGEDIR}${PREFIX}/${X_FONTSDIR}/misc + cd ${STAGEDIR}${PREFIX}/${X_FONTSDIR}/misc && ${LN} -s -f \ + ../${X_FONTSDIR:C,[^/]+,..,g}/${DATADIR_REL}/*.pcf.gz . -post-install: +post-su-install: ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +post-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |