diff options
author | bsam <bsam@FreeBSD.org> | 2013-06-14 21:51:04 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-06-14 21:51:04 +0800 |
commit | 7bee663627885e64f3e0f29c93bfa7203b5be2f8 (patch) | |
tree | 8dfbf4411294dabaff5c1ddfc4ce80b30991fd27 /russian | |
parent | 8b84a0236a1d8f22ca886850ccbf7a2d2b5292ce (diff) | |
download | freebsd-ports-gnome-7bee663627885e64f3e0f29c93bfa7203b5be2f8.tar.gz freebsd-ports-gnome-7bee663627885e64f3e0f29c93bfa7203b5be2f8.tar.zst freebsd-ports-gnome-7bee663627885e64f3e0f29c93bfa7203b5be2f8.zip |
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. simplify install (use 1 line instead of 6);
. trim Makefile headers;
. add tab space to WRKSRC.
Diffstat (limited to 'russian')
-rw-r--r-- | russian/mueller-dic/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/russian/mueller-dic/Makefile b/russian/mueller-dic/Makefile index bbbb6e9d41f1..ffab3a11d56d 100644 --- a/russian/mueller-dic/Makefile +++ b/russian/mueller-dic/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: mueller-dic -# Date created: 14 Jan 2004 -# Whom: Igor Pokrovsky <tiamat@comset.net> -# +# Created by: Igor Pokrovsky <tiamat@comset.net> # $FreeBSD$ -# PORTNAME= mueller-dic PORTVERSION= 1.2 @@ -21,10 +17,12 @@ USE_GMAKE= yes USES= iconv SUB_FILES= mueller -WRKSRC= ${WRKDIR}/mf +WRKSRC= ${WRKDIR}/mf WRKSRC_DIC= ${WRKDIR}/usr/local/share/dict WRKSRC_DOC= ${WRKDIR}/usr/local/share/mova +OPTIONS_DEFINE= DOCS + post-build: # convert dictionary to other charsets ${MV} ${WRKSRC_DIC}/Mueller7accentGPL.koi ${WRKSRC_DIC}/Mueller7accentGPL.ru_RU.KOI8-R @@ -37,20 +35,17 @@ post-build: ${WRKSRC}/mf -d ${WRKSRC_DIC}/Mueller7accentGPL.ru_RU.CP1251 -hash ${WRKSRC}/mf -d ${WRKSRC_DIC}/Mueller7accentGPL.ru_RU.UTF-8 -hash +.include <bsd.port.options.mk> + do-install: # install program with different name (it conflicts with teTeX) ${INSTALL_PROGRAM} ${WRKSRC}/mf ${PREFIX}/bin/muellerfind ${INSTALL_SCRIPT} ${WRKDIR}/mueller ${PREFIX}/bin/ @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.ru_RU.KOI8-R ${DATADIR} - ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.ru_RU.KOI8-R.h ${DATADIR} - ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.ru_RU.CP1251 ${DATADIR} - ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.ru_RU.CP1251.h ${DATADIR} - ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.ru_RU.UTF-8 ${DATADIR} - ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.ru_RU.UTF-8.h ${DATADIR} + ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.ru_RU.* ${DATADIR} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC_DOC}/Mueller7.txt ${DOCSDIR}/Mueller7.txt .endif |