Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 00:16:54 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352192 - head/textproc/link-grammar
Message-ID:  <201404260016.s3Q0GsTA023601@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Apr 26 00:16:54 2014
New Revision: 352192
URL: http://svnweb.freebsd.org/changeset/ports/352192
QAT: https://qat.redports.org/buildarchive/r352192/

Log:
  Support stage
  Use USES=libtool
  Strip binaries

Modified:
  head/textproc/link-grammar/Makefile
  head/textproc/link-grammar/pkg-plist

Modified: head/textproc/link-grammar/Makefile
==============================================================================
--- head/textproc/link-grammar/Makefile	Sat Apr 26 00:13:27 2014	(r352191)
+++ head/textproc/link-grammar/Makefile	Sat Apr 26 00:16:54 2014	(r352192)
@@ -2,43 +2,40 @@
 
 PORTNAME=	link-grammar
 PORTVERSION=	4.7.4
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
 
 MAINTAINER=	gnome@FreeBSD.org
-COMMENT=	A grammar checking library
+COMMENT=	Grammar checking library
 
-LIB_DEPENDS=	pspell:${PORTSDIR}/textproc/aspell
+LIB_DEPENDS=	libpspell.so:${PORTSDIR}/textproc/aspell
 
-USE_GNOME=	gnomehack ltverhack
-USE_GMAKE=	yes
-USE_AUTOTOOLS=	libtool
+OPTIONS_DEFINE=	DOCS
+
+USES=		dos2unix gmake libtool pathfix
 USE_LDCONFIG=	yes
-USE_DOS2UNIX=	yes
 USE_CSTD=	gnu99
-CFLAGS+=	${PTHREAD_CFLAGS}
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-pthreads \
 		--disable-java-bindings \
 		--disable-hunspell \
 		--enable-aspell
 MAKE_JOBS_UNSAFE=	yes
+INSTALL_TARGET=	install-strip
 
 DOCS=		AUTHORS LICENSE MAINTAINERS README
-MAN1=		link-parser.1
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
 		${WRKSRC}/configure ${WRKSRC}/${PORTNAME}/Makefile.in
 
-.ifndef (NOPORTDOCS)
 post-install:
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${DOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Modified: head/textproc/link-grammar/pkg-plist
==============================================================================
--- head/textproc/link-grammar/pkg-plist	Sat Apr 26 00:13:27 2014	(r352191)
+++ head/textproc/link-grammar/pkg-plist	Sat Apr 26 00:16:54 2014	(r352192)
@@ -2,10 +2,11 @@ bin/link-parser
 include/link-grammar/link-features.h
 include/link-grammar/link-includes.h
 lib/liblink-grammar.a
-lib/liblink-grammar.la
 lib/liblink-grammar.so
 lib/liblink-grammar.so.4
+lib/liblink-grammar.so.4.7.4
 libdata/pkgconfig/link-grammar.pc
+man/man1/link-parser.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/MAINTAINERS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404260016.s3Q0GsTA023601>