aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--irc/ninja/Makefile16
-rw-r--r--irc/ninja/distinfo1
-rw-r--r--irc/ninja/pkg-plist70
3 files changed, 43 insertions, 44 deletions
diff --git a/irc/ninja/Makefile b/irc/ninja/Makefile
index 75dea64afba2..a17868ba4a83 100644
--- a/irc/ninja/Makefile
+++ b/irc/ninja/Makefile
@@ -8,27 +8,27 @@
PORTNAME= ninja
PORTVERSION= 1.5.8.1
CATEGORIES= irc
-MASTER_SITES= ftp://ninja.qoop.org/ninja/sources/
+MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= utisoft@gmail.com
COMMENT= Another ircII based irc client
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
-CONFIGURE_ENV= IRCLIB="${IRCLIB}"
-NO_LATEST_LINK= yes
+CONFIGURE_ENV= IRCLIB="${DATADIR}"
+DISABLE_MAKE_JOBS= yes
-IRCLIB= ${PREFIX}/share/ninja
+LATEST_LINK= irc-ninja
post-patch:
- @${REINPLACE_CMD} -e "s|%%IRCLIB%%|${IRCLIB}|g" \
+ @${REINPLACE_CMD} -e "s|%%IRCLIB%%|${DATADIR}|g" \
${WRKSRC}/include/config.h.dist
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ninja ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ninjawserv ${PREFIX}/bin
- @${MKDIR} ${IRCLIB}/translation
- ${INSTALL_DATA} ${WRKSRC}/translation/* ${IRCLIB}/translation
+ @${MKDIR} ${DATADIR}/translation
+ ${INSTALL_DATA} ${WRKSRC}/translation/* ${DATADIR}/translation
.include <bsd.port.mk>
diff --git a/irc/ninja/distinfo b/irc/ninja/distinfo
index 3779cf51670f..ca77a7c9924f 100644
--- a/irc/ninja/distinfo
+++ b/irc/ninja/distinfo
@@ -1,3 +1,2 @@
-MD5 (ninja-1.5.8.1.tar.gz) = 8b5a9ca07de5576d206ec40d53906961
SHA256 (ninja-1.5.8.1.tar.gz) = cc888c2115d73bde6299415cbfc7c7fd3d2b715c1945f315f70240d847c4f1af
SIZE (ninja-1.5.8.1.tar.gz) = 651142
diff --git a/irc/ninja/pkg-plist b/irc/ninja/pkg-plist
index 2d3b72291f94..08a551422372 100644
--- a/irc/ninja/pkg-plist
+++ b/irc/ninja/pkg-plist
@@ -1,37 +1,37 @@
bin/ninja
bin/ninjawserv
-share/ninja/translation/ASCII
-share/ninja/translation/CP437
-share/ninja/translation/CP850
-share/ninja/translation/DANISH
-share/ninja/translation/DEC_MCS
-share/ninja/translation/DG_MCS
-share/ninja/translation/DUTCH
-share/ninja/translation/FINNISH
-share/ninja/translation/FRENCH
-share/ninja/translation/FRENCH_CANADIAN
-share/ninja/translation/GERMAN
-share/ninja/translation/HP_MCS
-share/ninja/translation/IRV
-share/ninja/translation/ITALIAN
-share/ninja/translation/JIS
-share/ninja/translation/MACINTOSH
-share/ninja/translation/NEXT
-share/ninja/translation/NORWEGIAN_1
-share/ninja/translation/NORWEGIAN_2
-share/ninja/translation/POLISH
-share/ninja/translation/POLISH_NOPL
-share/ninja/translation/PORTUGUESE
-share/ninja/translation/PORTUGUESE_COM
-share/ninja/translation/RUSSIAN
-share/ninja/translation/RUSSIAN_ALT
-share/ninja/translation/RUSSIAN_WIN
-share/ninja/translation/SPANISH
-share/ninja/translation/SWEDISH
-share/ninja/translation/SWEDISH_NAMES
-share/ninja/translation/SWEDISH_NAMES_COM
-share/ninja/translation/SWISS
-share/ninja/translation/UNITED_KINGDOM
-share/ninja/translation/UNITED_KINGDOM_COM
-@dirrm share/ninja/translation
-@dirrm share/ninja
+%%DATADIR%%/translation/ASCII
+%%DATADIR%%/translation/CP437
+%%DATADIR%%/translation/CP850
+%%DATADIR%%/translation/DANISH
+%%DATADIR%%/translation/DEC_MCS
+%%DATADIR%%/translation/DG_MCS
+%%DATADIR%%/translation/DUTCH
+%%DATADIR%%/translation/FINNISH
+%%DATADIR%%/translation/FRENCH
+%%DATADIR%%/translation/FRENCH_CANADIAN
+%%DATADIR%%/translation/GERMAN
+%%DATADIR%%/translation/HP_MCS
+%%DATADIR%%/translation/IRV
+%%DATADIR%%/translation/ITALIAN
+%%DATADIR%%/translation/JIS
+%%DATADIR%%/translation/MACINTOSH
+%%DATADIR%%/translation/NEXT
+%%DATADIR%%/translation/NORWEGIAN_1
+%%DATADIR%%/translation/NORWEGIAN_2
+%%DATADIR%%/translation/POLISH
+%%DATADIR%%/translation/POLISH_NOPL
+%%DATADIR%%/translation/PORTUGUESE
+%%DATADIR%%/translation/PORTUGUESE_COM
+%%DATADIR%%/translation/RUSSIAN
+%%DATADIR%%/translation/RUSSIAN_ALT
+%%DATADIR%%/translation/RUSSIAN_WIN
+%%DATADIR%%/translation/SPANISH
+%%DATADIR%%/translation/SWEDISH
+%%DATADIR%%/translation/SWEDISH_NAMES
+%%DATADIR%%/translation/SWEDISH_NAMES_COM
+%%DATADIR%%/translation/SWISS
+%%DATADIR%%/translation/UNITED_KINGDOM
+%%DATADIR%%/translation/UNITED_KINGDOM_COM
+@dirrm %%DATADIR%%/translation
+@dirrm %%DATADIR%%