aboutsummaryrefslogtreecommitdiff
path: root/textproc/kmflcomp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-06-27 14:27:33 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-06-27 14:27:33 +0000
commitdbca74ed60132100e7b10b85a12ddde82e48cb7e (patch)
tree514cb6e64b8c2fc8282b07c68aa2b566e5e69f86 /textproc/kmflcomp
parentb2c9b0f2dcdfc68a219ee54b7692c1d31501f4c6 (diff)
downloadports-dbca74ed60132100e7b10b85a12ddde82e48cb7e.tar.gz
ports-dbca74ed60132100e7b10b85a12ddde82e48cb7e.zip
Notes
Diffstat (limited to 'textproc/kmflcomp')
-rw-r--r--textproc/kmflcomp/Makefile13
-rw-r--r--textproc/kmflcomp/pkg-plist6
2 files changed, 9 insertions, 10 deletions
diff --git a/textproc/kmflcomp/Makefile b/textproc/kmflcomp/Makefile
index e41e42a26918..d44e30d682d0 100644
--- a/textproc/kmflcomp/Makefile
+++ b/textproc/kmflcomp/Makefile
@@ -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>
diff --git a/textproc/kmflcomp/pkg-plist b/textproc/kmflcomp/pkg-plist
index f08c19523641..477611deb1dd 100644
--- a/textproc/kmflcomp/pkg-plist
+++ b/textproc/kmflcomp/pkg-plist
@@ -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