1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-01-09 13:33:41 +00:00
parent 6a0c59c099
commit 664c716461
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339231
2 changed files with 4 additions and 13 deletions

View File

@ -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>

View File

@ -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