aboutsummaryrefslogtreecommitdiff
path: root/japanese/anthy
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-04-24 18:14:38 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-04-24 18:14:38 +0000
commit687cff984dc04095f969b80e67a40349956686de (patch)
treead79efa5dd372f30ce7f47b05628597def5582c6 /japanese/anthy
parentd367a33745441e51331970becce36c1e06831315 (diff)
downloadports-687cff984dc04095f969b80e67a40349956686de.tar.gz
ports-687cff984dc04095f969b80e67a40349956686de.zip
Notes
Diffstat (limited to 'japanese/anthy')
-rw-r--r--japanese/anthy/Makefile21
-rw-r--r--japanese/anthy/pkg-plist2
2 files changed, 8 insertions, 15 deletions
diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile
index 9b6b4bc77835..68effd15a082 100644
--- a/japanese/anthy/Makefile
+++ b/japanese/anthy/Makefile
@@ -3,7 +3,7 @@
PORTNAME= anthy
PORTVERSION= 9100h
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= ${PORTNAME}/37536
@@ -20,22 +20,19 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/alt-cannadic/COPYING
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USES= pkgconfig
+USES= libtool:oldver pathfix pkgconfig
USE_LDCONFIG= yes
-USE_GNOME= lthack
-DOCSDIR= share/doc/ja/anthy
+DOCSDIR= ${PREFIX}/share/doc/ja/anthy
ELISPDIR= share/emacs/site-lisp/anthy
PLIST_SUB= ELISPDIR=${ELISPDIR}
OPTIONS_DEFINE= 2CHDIC ODIC GSKKDIC DOCS
-OPTIONS_DEFAULT= DOCS
2CHDIC_DESC= 2ch Dictionary
ODIC_DESC= Okinawa Dictionary
GSKKDIC_DESC= SKK Dictionary
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:M2CHDIC}
@@ -80,15 +77,11 @@ post-extract:
post-patch:
${REINPLACE_CMD} -e \
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
- ${REINPLACE_CMD} -e \
- 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
post-install:
- ${MKDIR} ${PREFIX}/${ELISPDIR}
- ${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${PREFIX}/${ELISPDIR}
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${PREFIX}/${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${PREFIX}/${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${STAGEDIR}${PREFIX}/${ELISPDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/japanese/anthy/pkg-plist b/japanese/anthy/pkg-plist
index 68f804184a52..d29fd3f3efa5 100644
--- a/japanese/anthy/pkg-plist
+++ b/japanese/anthy/pkg-plist
@@ -33,4 +33,4 @@ share/anthy/zipcode.t
@dirrm share/anthy
@dirrm include/anthy
@dirrm %%ELISPDIR%%
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%