diff options
-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" ------------------------------------------------------------------ |