diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-03-29 14:05:38 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-03-29 14:05:38 +0000 |
commit | 8c71397ae9a63d636049649f8e7627c4c6489e20 (patch) | |
tree | 33990857ae1b04a3f8c37acfb05d7ffe01293f53 /x11-fonts | |
parent | 6cb749803b9274a9b0731b713239ba9b625b9484 (diff) | |
download | ports-8c71397ae9a63d636049649f8e7627c4c6489e20.tar.gz ports-8c71397ae9a63d636049649f8e7627c4c6489e20.zip |
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/cyr-rfx/Makefile | 12 | ||||
-rw-r--r-- | x11-fonts/cyr-rfx/files/pkg-message.in (renamed from x11-fonts/cyr-rfx/pkg-message) | 6 |
2 files changed, 8 insertions, 10 deletions
diff --git a/x11-fonts/cyr-rfx/Makefile b/x11-fonts/cyr-rfx/Makefile index 7ba8a01425b4..14f4866e6781 100644 --- a/x11-fonts/cyr-rfx/Makefile +++ b/x11-fonts/cyr-rfx/Makefile @@ -3,7 +3,7 @@ PORTNAME= cyr-rfx-${CYR_RFX_ENCODING} PORTVERSION= 1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-fonts ukrainian russian MASTER_SITES= ftp://ftp.ptc.spbu.ru/mirror/ftp.inp.nsk.su/%SUBDIR%/ \ ftp://ftp.inp.nsk.su/%SUBDIR%/ @@ -26,12 +26,10 @@ CYR_RFX_ENCODING?= koi8-o WRKSRC= ${WRKDIR}/${CYR_RFX_ENCODING} MAKEFILE= ${FILESDIR}/Makefile.bdf2pcf INST_DIR= "lib/X11/fonts/${PORTNAME}" -MAKE_ENV+= INST_DIR="${LOCALBASE}/${INST_DIR}" MKDIR="${MKDIR}" -PLIST_SUB+= INST_DIR="${INST_DIR}" +MAKE_ENV+= INST_DIR="${STAGEDIR}${PREFIX}/${INST_DIR}" MKDIR="${MKDIR}" +PLIST_SUB= INST_DIR="${INST_DIR}" -NO_STAGE= yes -post-install: - @${SED} -e 's,/usr/X11R6,${LOCALBASE},g' -e \ - 's,koi8-o,${CYR_RFX_ENCODING},g' < ${PKGMESSAGE} +SUB_LIST= CYR_RFX_ENCODING="${CYR_RFX_ENCODING}" +SUB_FILES= pkg-message .include <bsd.port.mk> diff --git a/x11-fonts/cyr-rfx/pkg-message b/x11-fonts/cyr-rfx/files/pkg-message.in index fdc8984e18ed..9a3f6f896933 100644 --- a/x11-fonts/cyr-rfx/pkg-message +++ b/x11-fonts/cyr-rfx/files/pkg-message.in @@ -1,10 +1,10 @@ This port provides Cyrillic replacements for most of the standard - /usr/X11R6/lib/X11/fonts/misc + %%PREFIX%%/lib/X11/fonts/misc and - /usr/X11R6/lib/X11/fonts/75dpi + %%PREFIX%%/lib/X11/fonts/75dpi fonts. You may want to make sure, the - /usr/X11R6/lib/X11/fonts/cyr-rfx-koi8-o + %%PREFIX%%/lib/X11/fonts/cyr-rfx-%%CYR_RFX_ENCODING%% is listed in your fontpath before those two paths. |