Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2014 20:19:27 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352457 - in head/textproc/spellutils: . files
Message-ID:  <201404272019.s3RKJRtf023984@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Sun Apr 27 20:19:27 2014
New Revision: 352457
URL: http://svnweb.freebsd.org/changeset/ports/352457
QAT: https://qat.redports.org/buildarchive/r352457/

Log:
  - Stagify;
  
  - Define the license;
  
  - Pet portlint.
  
  Todo: check if the mastersite is definitely down or not.

Added:
  head/textproc/spellutils/files/patch-Makefile.in   (contents, props changed)
  head/textproc/spellutils/files/patch-po_Makefile.in.in   (contents, props changed)
Deleted:
  head/textproc/spellutils/pkg-message
Modified:
  head/textproc/spellutils/Makefile
  head/textproc/spellutils/pkg-plist

Modified: head/textproc/spellutils/Makefile
==============================================================================
--- head/textproc/spellutils/Makefile	Sun Apr 27 19:58:37 2014	(r352456)
+++ head/textproc/spellutils/Makefile	Sun Apr 27 20:19:27 2014	(r352457)
@@ -10,35 +10,29 @@ MASTER_SITES=	http://home.worldonline.dk
 MAINTAINER=	thierry@pompo.net
 COMMENT=	Programs used to isolate some parts or texts before spell-checking
 
+LICENSE=	GPLv2
 
 GNU_CONFIGURE=	yes
-USE_BZIP2=	yes
-USES=		gettext
-CONFIGURE_ENV=		LIBS='-L${LOCALBASE}/lib'
+USES=		gettext tar:bzip2
+CONFIGURE_ENV=	LIBS='-L${LOCALBASE}/lib'
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-lintl
 
-MAN1=		pospell.1 newsbody.1
-
 DOCS=		NEWS README
 EXAMPLES=	aspell.sl
 
-NO_STAGE=	yes
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${MKDIR} ${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for FILE in ${DOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
 .endfor
-	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+.if !defined(NOPORTEXAMPLES)
 .for FILE in ${EXAMPLES}
-	@${INSTALL_DATA} ${FILESDIR}/${FILE} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${FILESDIR}/${FILE} ${STAGEDIR}${EXAMPLESDIR}
 .endfor
-	@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
 .endif
-	@${ECHO_MSG}
-	@${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g"
-	@${ECHO_MSG}
 
 .include <bsd.port.mk>

Added: head/textproc/spellutils/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/spellutils/files/patch-Makefile.in	Sun Apr 27 20:19:27 2014	(r352457)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2000-04-23 10:17:30.000000000 +0200
++++ Makefile.in	2014-04-27 21:58:08.000000000 +0200
+@@ -32,8 +32,6 @@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+ 
+-DESTDIR =
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@

Added: head/textproc/spellutils/files/patch-po_Makefile.in.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/spellutils/files/patch-po_Makefile.in.in	Sun Apr 27 20:19:27 2014	(r352457)
@@ -0,0 +1,11 @@
+--- po/Makefile.in.in.orig	2000-04-16 12:04:50.000000000 +0200
++++ po/Makefile.in.in	2014-04-27 22:10:03.000000000 +0200
+@@ -20,7 +20,7 @@
+ exec_prefix = @exec_prefix@
+ datadir = $(prefix)/@DATADIRNAME@
+ localedir = $(datadir)/locale
+-gnulocaledir = $(prefix)/share/locale
++gnulocaledir = $(DESTDIR)$(prefix)/share/locale
+ gettextsrcdir = $(prefix)/share/gettext/po
+ subdir = po
+ 

Modified: head/textproc/spellutils/pkg-plist
==============================================================================
--- head/textproc/spellutils/pkg-plist	Sun Apr 27 19:58:37 2014	(r352456)
+++ head/textproc/spellutils/pkg-plist	Sun Apr 27 20:19:27 2014	(r352457)
@@ -1,8 +1,10 @@
 bin/pospell
 bin/newsbody
 share/locale/da/LC_MESSAGES/spellutils.mo
-%%PORTDOCS%%share/doc/spellutils/NEWS
-%%PORTDOCS%%share/doc/spellutils/README
-%%PORTDOCS%%share/examples/spellutils/aspell.sl
-%%PORTDOCS%%@dirrm share/doc/spellutils
-%%PORTDOCS%%@dirrm share/examples/spellutils
+man/man1/newsbody.1.gz
+man/man1/pospell.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aspell.sl
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%



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