diff options
author | thierry <thierry@FreeBSD.org> | 2014-04-28 04:19:27 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2014-04-28 04:19:27 +0800 |
commit | 9727001597457f11eff4802b1937dd8c27a11e3e (patch) | |
tree | 530c3399ea65304bbec23dd7246ecb17bcc5cc86 /textproc | |
parent | e9ec735e109e7a5ef41a26104cc48190ce705f7b (diff) | |
download | freebsd-ports-gnome-9727001597457f11eff4802b1937dd8c27a11e3e.tar.gz freebsd-ports-gnome-9727001597457f11eff4802b1937dd8c27a11e3e.tar.zst freebsd-ports-gnome-9727001597457f11eff4802b1937dd8c27a11e3e.zip |
- Stagify;
- Define the license;
- Pet portlint.
Todo: check if the mastersite is definitely down or not.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/spellutils/Makefile | 24 | ||||
-rw-r--r-- | textproc/spellutils/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | textproc/spellutils/files/patch-po_Makefile.in.in | 11 | ||||
-rw-r--r-- | textproc/spellutils/pkg-message | 5 | ||||
-rw-r--r-- | textproc/spellutils/pkg-plist | 12 |
5 files changed, 38 insertions, 25 deletions
diff --git a/textproc/spellutils/Makefile b/textproc/spellutils/Makefile index 50e28ba6beb2..4e89dea2b49a 100644 --- a/textproc/spellutils/Makefile +++ b/textproc/spellutils/Makefile @@ -10,35 +10,29 @@ MASTER_SITES= http://home.worldonline.dk/byrial/spellutils/ 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> diff --git a/textproc/spellutils/files/patch-Makefile.in b/textproc/spellutils/files/patch-Makefile.in new file mode 100644 index 000000000000..51d18c663ad3 --- /dev/null +++ b/textproc/spellutils/files/patch-Makefile.in @@ -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@ diff --git a/textproc/spellutils/files/patch-po_Makefile.in.in b/textproc/spellutils/files/patch-po_Makefile.in.in new file mode 100644 index 000000000000..003ca5266022 --- /dev/null +++ b/textproc/spellutils/files/patch-po_Makefile.in.in @@ -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 + diff --git a/textproc/spellutils/pkg-message b/textproc/spellutils/pkg-message deleted file mode 100644 index e60477a95846..000000000000 --- a/textproc/spellutils/pkg-message +++ /dev/null @@ -1,5 +0,0 @@ -***************************************************************************** - - newsbody & pospell have been installed in %%PREFIX%%/bin. - -***************************************************************************** diff --git a/textproc/spellutils/pkg-plist b/textproc/spellutils/pkg-plist index 44fcd769438a..9fe2063cd323 100644 --- a/textproc/spellutils/pkg-plist +++ b/textproc/spellutils/pkg-plist @@ -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%% |