diff options
author | lippe <lippe@FreeBSD.org> | 2008-04-03 10:14:31 +0800 |
---|---|---|
committer | lippe <lippe@FreeBSD.org> | 2008-04-03 10:14:31 +0800 |
commit | 37e1aa1f19295923b3950145f0a5453db44ba98d (patch) | |
tree | 7739e2f8ac75a038afe2a9e4811eaf3152ffe3ea /x11-fonts/webfonts | |
parent | 9aa468141ae30b9ee647a4e7f1223d2e549e8a2c (diff) | |
download | freebsd-ports-gnome-37e1aa1f19295923b3950145f0a5453db44ba98d.tar.gz freebsd-ports-gnome-37e1aa1f19295923b3950145f0a5453db44ba98d.tar.zst freebsd-ports-gnome-37e1aa1f19295923b3950145f0a5453db44ba98d.zip |
- Makefile cosmetic changes.
- Move pkg-message to FILESDIR.
- Bump PORTREVISION.
PR: ports/121753
Submitted by: myself
Approved by: araujo (mentor), Konstantinos Konstantinidis <kkonstan@duth.gr> (maintainer)
Diffstat (limited to 'x11-fonts/webfonts')
-rw-r--r-- | x11-fonts/webfonts/Makefile | 27 | ||||
-rw-r--r-- | x11-fonts/webfonts/files/pkg-message.in (renamed from x11-fonts/webfonts/pkg-message) | 0 |
2 files changed, 13 insertions, 14 deletions
diff --git a/x11-fonts/webfonts/Makefile b/x11-fonts/webfonts/Makefile index d126e052647a..e282f302f87b 100644 --- a/x11-fonts/webfonts/Makefile +++ b/x11-fonts/webfonts/Makefile @@ -7,7 +7,7 @@ PORTNAME= webfonts PORTVERSION= 0.30 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-fonts MASTER_SITES= ${MASTER_SITE_NETBSD:S/%SUBDIR%/ms-ttf/}:group1 \ ${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/corefonts/}:group1 \ @@ -22,11 +22,6 @@ DISTFILES= andale32.exe:group1 arial32.exe:group1 arialb32.exe:group1 \ comic32.exe:group1 courie32.exe:group1 georgi32.exe:group1 \ impact32.exe:group1 times32.exe:group1 trebuc32.exe:group1 \ verdan32.exe:group1 webdin32.exe:group1 - -.if defined(WITH_MSWINDOWS_LICENSE) -DISTFILES+= ielpkth.cab:group2 -.endif - DIST_SUBDIR= ${PORTNAME} MAINTAINER= kkonstan@duth.gr @@ -37,7 +32,7 @@ BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig NO_BUILD= yes -RESTRICTED= "Restrictive license - cannot sell for profit or distribute in modified form" +RESTRICTED= Restrictive license - cannot sell for profit or distribute in modified form EXTRACT_CMD= ${LOCALBASE}/bin/cabextract EXTRACT_BEFORE_ARGS= -qLF '*.ttf' -d ${WRKSRC} @@ -54,13 +49,17 @@ PLIST_SUB= FONTNAME="${FONTNAME}" \ FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" \ TTFONTSDIR="${TTFONTSDIR:S|${X11BASE}/||}" -MSG_FILE= ${PKGDIR}/pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_LIST= FONTSDIR="${FONTSDIR}" DOCSDIR="${DOCSDIR}" +SUB_FILES= pkg-message FONTS_FILE= ${WRKDIR}/fonts.dir .include <bsd.port.pre.mk> +.if defined(WITH_MSWINDOWS_LICENSE) +DISTFILES+= ielpkth.cab:group2 +.endif + .SILENT: # @@ -73,9 +72,6 @@ post-extract: # Post-patch # post-patch: - ${SED} -e 's|%%FONTSDIR%%|${FONTSDIR}|g' \ - -e 's|%%DOCSDIR%%|${DOCSDIR}|g' \ - ${MSG_FILE} > ${PKGMESSAGE} .if defined(WITH_MSWINDOWS_LICENSE) ${SORT} ${FILESDIR}/fonts.dir ${FILESDIR}/tahoma.dir > ${FONTS_FILE} .else @@ -98,11 +94,14 @@ PLIST_SUB+= EXTRAFONTS="@comment " # Install # do-install: - ${MKDIR} ${FONTSDIR} ${DOCSDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/licen.txt ${DOCSDIR}/LICENSE +.endif + ${MKDIR} ${FONTSDIR} ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR} ${INSTALL_DATA} ${FONTS_FILE} ${FONTSDIR} ${INSTALL_DATA} ${FONTS_FILE} ${FONTSDIR}/fonts.scale - ${INSTALL_DATA} ${WRKSRC}/licen.txt ${DOCSDIR}/LICENSE # # Post-install diff --git a/x11-fonts/webfonts/pkg-message b/x11-fonts/webfonts/files/pkg-message.in index b6b58147a0a1..b6b58147a0a1 100644 --- a/x11-fonts/webfonts/pkg-message +++ b/x11-fonts/webfonts/files/pkg-message.in |