diff options
author | garga <garga@FreeBSD.org> | 2013-11-01 07:55:01 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2013-11-01 07:55:01 +0800 |
commit | 6e5e74d1cacff68b4ff21d2174227007e2f31b94 (patch) | |
tree | 478f7965fa2b96bfae62a786d7222555235d217a | |
parent | 1319cd426a4f2309ed03923df497d54829cffd6e (diff) | |
download | freebsd-ports-gnome-6e5e74d1cacff68b4ff21d2174227007e2f31b94.tar.gz freebsd-ports-gnome-6e5e74d1cacff68b4ff21d2174227007e2f31b94.tar.zst freebsd-ports-gnome-6e5e74d1cacff68b4ff21d2174227007e2f31b94.zip |
. Support STAGE
. Simplify Makefile
. Move pkg-message to files/pkg-message.in and use SUB_FILES
-rw-r--r-- | x11-fonts/artwiz-aleczapka/Makefile | 15 | ||||
-rw-r--r-- | x11-fonts/artwiz-aleczapka/files/pkg-message.in (renamed from x11-fonts/artwiz-aleczapka/pkg-message) | 2 |
2 files changed, 6 insertions, 11 deletions
diff --git a/x11-fonts/artwiz-aleczapka/Makefile b/x11-fonts/artwiz-aleczapka/Makefile index 222a8015dfc9..038d6035ad55 100644 --- a/x11-fonts/artwiz-aleczapka/Makefile +++ b/x11-fonts/artwiz-aleczapka/Makefile @@ -18,19 +18,14 @@ FONTS= anorexia aqui cure cursor drift edges fkp gelly \ glisp-bold glisp kates lime mints-mild mints-strong \ nu smoothansi snap FONTDIR= ${LOCALBASE}/lib/X11/fonts/${PORTNAME}/ -FILES= ${FONTS:S,$,.pcf,} ${WRKSRC}/fonts.alias \ - ${WRKSRC}/fonts.cache-1 ${WRKSRC}/fonts.dir +FILES= ${FONTS:S,$,.pcf,} fonts.alias fonts.cache-1 fonts.dir -NO_STAGE= yes .include <bsd.port.pre.mk> do-install: - @${MKDIR} ${FONTDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${FILES} ${FONTDIR} - -post-install: - @${SED} 's|$${LOCALBASE}|${LOCALBASE}|g' \ - ${PKGDIR}/pkg-message >${PKGMESSAGE} - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${FONTDIR} +.for f in ${FILES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${FONTDIR} +.endfor .include <bsd.port.post.mk> diff --git a/x11-fonts/artwiz-aleczapka/pkg-message b/x11-fonts/artwiz-aleczapka/files/pkg-message.in index 4154e64f29fa..b62b4bdffbbc 100644 --- a/x11-fonts/artwiz-aleczapka/pkg-message +++ b/x11-fonts/artwiz-aleczapka/files/pkg-message.in @@ -6,6 +6,6 @@ Add the following line to the "Files" section and restart XFree86. - FontPath "${LOCALBASE}/lib/X11/fonts/artwiz-aleczapka-en" + FontPath "%%LOCALBASE%%/lib/X11/fonts/artwiz-aleczapka-en" ------------------------------------------------------------------ |