aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 13:33:41 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 13:33:41 +0000
commit664c716461f5ecf249ff6ae45cdd6dc9b2b1dd74 (patch)
treee5676063c5b7a5cd3401bb6e392fda441f1327e8 /converters
parent6a0c59c099b91251496a21f00589da9ebe207f5e (diff)
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/enca/Makefile15
-rw-r--r--converters/enca/pkg-plist2
2 files changed, 4 insertions, 13 deletions
diff --git a/converters/enca/Makefile b/converters/enca/Makefile
index 49f06f192802..44fef8cfde9b 100644
--- a/converters/enca/Makefile
+++ b/converters/enca/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= converters textproc russian ukrainian
MASTER_SITES= http://dl.cihar.com/enca/
MAINTAINER= never@nevermind.kiev.ua
-COMMENT= A package for detecting encoding of text files
+COMMENT= Detect encoding of text files
BUILD_DEPENDS= umap:${PORTSDIR}/converters/p5-Unicode-Map8
LIB_DEPENDS= librecode.so:${PORTSDIR}/converters/recode
@@ -16,9 +16,8 @@ RUN_DEPENDS= umap:${PORTSDIR}/converters/p5-Unicode-Map8
LICENSE= GPLv2
USE_AUTOTOOLS= libtool
-USES= pkgconfig iconv
+USES= gmake pkgconfig iconv
USE_BZIP2= yes
-USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}
@@ -26,17 +25,7 @@ CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAN1= enca.1
-MLINKS= enca.1 enconv.1
-
-NO_STAGE= yes
-
-.include <bsd.port.options.mk>
-
post-patch::
-.if !${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -e 's#\ devel-docs##g' ${WRKSRC}/Makefile.in
-.endif
@${REINPLACE_CMD} -e 's/$$(LN_S)/$$(LN_S) -f/' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
diff --git a/converters/enca/pkg-plist b/converters/enca/pkg-plist
index 88673d6c610d..caf431a6c2a9 100644
--- a/converters/enca/pkg-plist
+++ b/converters/enca/pkg-plist
@@ -11,6 +11,8 @@ libexec/enca/extconv/map
libexec/enca/extconv/piconv
libexec/enca/extconv/recode
libexec/enca/extconv/umap
+man/man1/enca.1.gz
+man/man1/enconv.1.gz
%%PORTDOCS%%%%DOCSDIR%%/libenca/ch01.html
%%PORTDOCS%%%%DOCSDIR%%/libenca/index.html
%%PORTDOCS%%%%DOCSDIR%%/libenca/index.sgml