1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

- support USES=libtools

PR:		190769
This commit is contained in:
Martin Wilke 2014-06-27 14:27:33 +00:00
parent b2c9b0f2dc
commit dbca74ed60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359542
2 changed files with 9 additions and 10 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= kmflcomp
PORTVERSION= 0.9.9
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/kmfl/kmfl/${PORTVERSION}:1 \
SF/kmfl/kmfl/Documentation:2 \
@ -19,11 +20,13 @@ BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
USE_XORG= x11
USE_LDCONFIG= yes
USES= iconv
USES= iconv libtool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
DOCSDIR= ${PREFIX}/share/doc/kmfl/${PORTNAME}
DOCS= ${DISTDIR}/${DIST_SUBDIR}/KMFL-Compiler.sxw \
${WRKSRC}/AUTHORS \
@ -32,7 +35,6 @@ DOCS= ${DISTDIR}/${DIST_SUBDIR}/KMFL-Compiler.sxw \
SUB_FILES= pkg-message
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|^install-data-am: install-kmflcompdocDATA|install-data-am:|' \
${WRKSRC}/Makefile.in
@ -42,10 +44,7 @@ post-patch:
${WRKSRC}/kmfl_compiler/kmfl_compiler.c
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} -v ${DOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} -v ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -3,13 +3,13 @@ include/kmfl/kmfl.h
include/kmfl/kmflcomp.h
include/kmfl/kmflutfconv.h
lib/libkmflcomp.a
lib/libkmflcomp.la
lib/libkmflcomp.so
lib/libkmflcomp.so.0
%%PORTDOCS%%%%DOCSDIR%%/KMFL-Compiler.sxw
lib/libkmflcomp.so.0.0.0
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/KMFL-Compiler.sxw
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrmtry share/doc/kmfl
@dirrmtry share/doc/kmfl
@dirrmtry include/kmfl