mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Stagify;
- Define the license; - Pet portlint. Todo: check if the mastersite is definitely down or not.
This commit is contained in:
parent
a087baee3b
commit
b334b6a314
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352457
5 changed files with 40 additions and 27 deletions
|
@ -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
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
.for FILE in ${EXAMPLES}
|
||||
${INSTALL_DATA} ${FILESDIR}/${FILE} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endfor
|
||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
.for FILE in ${EXAMPLES}
|
||||
@${INSTALL_DATA} ${FILESDIR}/${FILE} ${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>
|
||||
|
|
11
textproc/spellutils/files/patch-Makefile.in
Normal file
11
textproc/spellutils/files/patch-Makefile.in
Normal file
|
@ -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@
|
11
textproc/spellutils/files/patch-po_Makefile.in.in
Normal file
11
textproc/spellutils/files/patch-po_Makefile.in.in
Normal file
|
@ -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
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
*****************************************************************************
|
||||
|
||||
newsbody & pospell have been installed in %%PREFIX%%/bin.
|
||||
|
||||
*****************************************************************************
|
|
@ -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%%
|
||||
|
|
Loading…
Add table
Reference in a new issue