aboutsummaryrefslogtreecommitdiffstats
path: root/converters/enca/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-09 21:33:41 +0800
committerbapt <bapt@FreeBSD.org>2014-01-09 21:33:41 +0800
commit367ced87c11f23f328cea01d4632c597821e61e2 (patch)
treee5676063c5b7a5cd3401bb6e392fda441f1327e8 /converters/enca/Makefile
parentce84f6f3ddab4678d6de0203039cdbc927c9ee72 (diff)
downloadfreebsd-ports-gnome-367ced87c11f23f328cea01d4632c597821e61e2.tar.gz
freebsd-ports-gnome-367ced87c11f23f328cea01d4632c597821e61e2.tar.zst
freebsd-ports-gnome-367ced87c11f23f328cea01d4632c597821e61e2.zip
Support stage
Diffstat (limited to 'converters/enca/Makefile')
-rw-r--r--converters/enca/Makefile15
1 files changed, 2 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>