aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/cyr-rfx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/cyr-rfx/Makefile')
-rw-r--r--x11-fonts/cyr-rfx/Makefile12
1 files changed, 5 insertions, 7 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>