Commit Graph

58 Commits

Author SHA1 Message Date
Matthias Andree b6da34d1dc converters/recode: fix info file, add LICENCE, quiet portlint/portclippy
This has been broken for almost 10 months, and again 3 months of silence
from the maintainer, so let me step in to just fix it for the nonce.

- Add LICENSE=GPLv2+
- Add USES=makeinfo to fix .info file in clean-room builds (poudriere) [1]
- Reshuffle a few lines to please portclippy and portlint
- Bump PORTREVISION to flush out the broken packages and force rebuild

- Add DISABLED example to strip library in order to also please
  stage-qa with DEVELOPER=yes (would require maintainer approval),
  in post-install (just remove @: and the comment line to enable).

PR:		241879 [1]
Submitted by:	Victor Sudakov <vas@sibptus.ru> [1]
Approved by:	portmgr@ (blanket, see MFH below)
MFH:		2020Q3 (blanket LICENSE, dependencies to unbreak, modernization)
2020-09-04 15:58:00 +00:00
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00
Tijl Coosemans 6ead27eb95 Remove libiconv.so.3 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 19:23:24 +00:00
Mathieu Arnold eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Mathieu Arnold c6457ffef4 Update ports in the [bcd]* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-06 15:16:53 +00:00
Dmitry Marakasov b0feb9a404 - Drop .la files, no dependees require them
Approved by:	portmgr blanket
2014-08-26 03:11:57 +00:00
Dmitry Sivachenko c19cdb452c Change mastersite to github.
PR:		190444
2014-06-04 12:28:53 +00:00
Tijl Coosemans aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
Tijl Coosemans 284d283afe - Convert USE_AUTOTOOLS=libtool to USES=libtool.
- Replace PERL with REINPLACE_CMD in post-patch.
- Replace "iconv.h" with "${ICONV_PREFIX}/include/iconv.h" so
  /usr/include/iconv.h is included on FreeBSD 10 even when
  converters/iconv is installed.  The port uses iconvctl(3) which
  isn't declared in /usr/local/include/iconv.h with -DLIBICONV_PLUG.
- files/patch-lib-error.c: Implement program_name using __progname.
- files/patch-libiconv-Makefile.in: deleted because the libiconv
  directory isn't built.
- files/patch-src-Makefile.in:
  + Remove chunks that aren't needed.
  + Remove ../lib/libreco.a from LIBS so CFLAGS+=-fPIC can be removed
    from the port Makefile.  Instead, just copy lib/error.c (the only
    file needed from libreco.a) to src/error.c and compile it into
    librecode.so.

PR:		186637
Approved by:	demon (maintainer)
2014-02-18 19:34:04 +00:00
Baptiste Daroussin dfd28f85c9 Support stage 2014-01-09 13:27:26 +00:00
Guido Falsi bd18590ca4 - Add explicit LDFLAGS for iconv
Submitted by:	marino
Approved by:	portmgr (bapt)
2013-09-24 22:53:40 +00:00
Baptiste Daroussin 1e4b97cf2b Add NO_STAGE all over the place in preparation for the staging support (cat: converters) 2013-09-20 16:05:24 +00:00
Andrej Zverev 0c32f39711 - Convert to new Uses/perl5.mk framework
- Resolve issues with implicit lang/perl in extract and patch dependencies
- Trim Makefile header

Reviewed by:	bapt@ (exp-run)
Approved by:	bapt@ (portmrg@)
2013-07-31 06:54:09 +00:00
Marcus von Appen 821843ca06 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	bapt, kwm
2013-04-27 08:50:46 +00:00
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00
Dmitry Sivachenko 231091ba96 Do not compile and use bundled libiconv, the converters/iconv from ports.
PR:		177321
Submitted by:	William Grzybowski <william88@gmail.com>
With help and suggestions from:		bapt
2013-03-26 12:56:14 +00:00
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Ade Lovett 4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett 8d837132c7 Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. 2010-05-31 02:01:56 +00:00
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Ade Lovett 8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Dmitry Sivachenko 129f54943e Plug memory leak in librecode.
Bump PORTREVISION.

PR:		89934
Submitted by:	Sergey Prikhodko <sergey@network-asp.biz>
2005-12-08 11:18:11 +00:00
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Joe Marcus Clarke 9e5632dd66 Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
2004-07-09 17:43:11 +00:00
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00
Kirill Ponomarev b1786da93a - Fix build on AMD64
Approved by:	maintainer informed
2004-02-08 22:51:27 +00:00
Joe Marcus Clarke 186b8ba82f Add USE_GETTEXT and bump PORTREVISION.
Submitted by:	trevor
Tested by:	bento
2004-02-04 04:36:30 +00:00
Trevor Johnson 78da40aa98 Now gettext 0.12.1 is gettext-old. 2004-01-23 18:12:26 +00:00
Trevor Johnson b3ba3ae427 USE_REINPLACE need be defined only when REINPLACE_CMD is used. 2003-11-17 12:29:10 +00:00
Joe Marcus Clarke a3108b1e51 Bump the PORTREVISION for the ports directly affected by the gettext upgrade.
Prodded by:	kris
2003-08-26 20:25:58 +00:00
Joe Marcus Clarke adccc29aad Chase the libintl.so shared lib version. 2003-08-25 05:41:38 +00:00
Dmitry Sivachenko a2e1fc4ddc Utilize INFO variable. 2003-08-13 07:23:29 +00:00
Martin Blapp acb38c09dc Bump the port revision.
Pointed out by:		kris
2003-03-23 09:49:38 +00:00
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Edwin Groothuis cd30ac8bd8 USE_PERL is needed for the post-po-file target.
Submitted by:	marius@alchemy.franken.de
2002-11-05 00:53:43 +00:00
Edwin Groothuis 5019ffc91b Half of these ones missed yesterday while converting to USE_REINPLACE.
The other half needs perl to build.

Noticed on bento and others (full mailbox :-)
2002-11-04 22:57:37 +00:00
Ade Lovett c8eaa93644 Chase shlib rev of devel/gettext
Submitted by:	lots and lots
Pointy hat to:	ade
2002-08-01 16:22:41 +00:00
Dmitry Sivachenko adacf4b902 Put back ru.po, it was deleted by mistake.
Spotted by:	olgeni
2002-04-29 07:08:02 +00:00
Dmitry Sivachenko 452ed87c7a Use devel/gettext port;
Correct pkg-plist;
General cleanup;

PR:
Submitted by:	naddy

Remove files/ru.po file since it is the same file included into recode
distribution.
2002-04-17 07:16:33 +00:00
Ade Lovett f18cbf2fa6 gettext upgrade uber-patch (stage 3)
- switch devel/gettext (0.11.1) on, installing full package
- flip devel/gettext-old (0.10.35) to installing only static binaries
  with a "-old" suffix -- gettext-old will have its deorbit burn
  sequence initiated just after 4.6-RELEASE
- fix up ports for the new world order

Reviewed by:	portmgr
2002-04-12 17:10:20 +00:00
Ade Lovett 9210b7cb07 Stage 1 of gettext update.
Move gettext (0.10.35) with gettext-old
Update gettext from gettext-devel (0.10.40)
Remove gettext-devel
Fix dependencies

Stage 2 will involve upgraded gettext to 0.11 and fixing issues
Stage 3 involves a de-orbit burn sequence for gettext-old

Reviewed by:	portmgr
2002-03-15 19:44:29 +00:00
Dmitry Sivachenko 00fa04c777 Upgrade to 3.6.
PR:		30375
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
MAINTAINER timeout.
Assign maintainership to myself.
2001-09-09 09:17:09 +00:00
Dmitry Sivachenko 6f7c303c93 Add Russian messages.
MAINTAINER timeout.
2001-05-21 11:05:18 +00:00
Maxim Sobolev e8dff773a3 Use libintl from xgettext port. 2000-12-07 12:19:21 +00:00
Satoshi Asami ffb21b5654 Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
2000-06-16 21:52:40 +00:00
Maxim Sobolev 61ebd322a2 Fix MASSIVE typo INSTALL_SHLIBS --> INSTALLS_SHLIBS, which occured because I
just cun'n'pasted the name from Satoshi's commit message without checking
it.

Hall of shame entry:	sobomax
2000-06-16 08:19:52 +00:00
Maxim Sobolev 835d6b8655 Third round of INSTALL_SHLIBS=yes fixes. 2000-06-15 17:59:45 +00:00
Michael Haro 59df8af48e update with the new PORTNAME/PORTVERSION variables 2000-04-08 23:24:42 +00:00