Commit graph

120 commits

Author SHA1 Message Date
joerg
11d2712a27 Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
joerg
92836a718c Garbage collect remaining part of the @dirrm logic. 2015-06-07 03:39:08 +00:00
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
wiz
e8647fedbb Remove SVR4_PKGNAME, per discussion on tech-pkg. 2014-10-09 13:44:32 +00:00
obache
1c90fa81ef Some improvements and changes for Haskell Cabal support.
* HASKELL_ENABLE_LIBRARY_PROFILING and HASKELL_ENABLE_HADDOCK_DOCUMENTATION
  are "User-settable variables", not "Package-settable variables".
* Change to HASKELL_ENABLE_HADDOCK_DOCUMENTATION=yes by default.
* Add HASKELL_ENABLE_SHARED_LIBRARY("yes" by default), to enable shlib support.
* Add support for dynamically conditional PLIST entries handling for
  HASKELL_ENABLE_SHARED_LIBRARY and HASKELL_ENABLE_LIBRARY_PROFILING.

discussed with pho@ and szptvlfn@.
2014-04-18 13:42:59 +00:00
jperkin
e393ce6d94 Introduce infrastructure support for SMF.
SMF is the Service Management Facility, the default init system in
Solaris and derivatives since version 10.  This adds "smf" to the list
of supported INIT_SYSTEM types, and makes it the default init system on
platforms where it is available.

Packages can introduce SMF support by providing a manifest file, by
default located in ${FILESDIR}/smf/manifest.xml but manifests under
${WRKSRC} can be used too if the package source includes one.

SMF method scripts are supported too if required, using SMF_METHODS in a
similar manner to RCD_SCRIPTS.

Many parts of the SMF infrastructure are configurable, see mk/smf.mk for
the full details.
2014-03-11 14:07:04 +00:00
obache
33f2f6860f Improve shlib name conversion for Cygwin.
* dll may be in ${PREFIX}/bin instead of ${PREFIX}/lib.
* dll name may be cygXXX.dll instead of libXXX.dll.
* versioning name may be foo-X.Y.Z.dll instead of foo.X.Y.Z.dll.
2014-03-08 08:52:25 +00:00
obache
45a19863bb Move PY_PEP3147 specific PRINT_PLIST handling from common mk/plist/print-plist.mk
to lang/python/extension.mk, handling reverse way.
2014-01-24 12:42:52 +00:00
wiz
b7ce74a7b4 Improve support for python-3.3. 2014-01-18 19:48:57 +00:00
jperkin
948c742e84 Introduce CATMAN_SECTION_SUFFIX which if set to 'yes' will ensure that
catman pages are installed with a suffix which matches their section
instead of the default '.0'.

Enable it by default on SunOS, which requires that particular layout.
2013-09-12 11:01:47 +00:00
jperkin
f9143d0209 Fix print-PLIST with a custom PKGGNUDIR. 2013-07-05 15:31:54 +00:00
obache
7a271a3091 * try to replace .so with .dll without `lib' prefix, like a plugins.
* also try to register DLL import library (.dll.a) from static library (.a).
2013-04-17 11:53:44 +00:00
obache
a0ce78347e switch to based on shlib-dylib.awk 2013-03-03 11:53:58 +00:00
obache
c236f11ea7 prevent to expand if dlname is empty. 2013-02-23 09:59:14 +00:00
wiz
7de9eb7274 Fix continuation for previous. 2013-02-20 09:19:08 +00:00
wiz
84c6700514 Remove OPSYS and LOWER_OPSYS substitutions in print-PLIST;
nowadays they cause more PLIST breakage than they fix.
2013-02-20 08:45:05 +00:00
obache
81c406794f Improve PLIST handling for Cygwin (SHLIB_TYPE=PEwin)
* also expand `dlname' in libtool archive
* executable binary files may have .exe extension
* rename shlib extension .so with .dll
2013-02-10 12:03:00 +00:00
sbd
a0f4340e1d Modify mk/plist/plist-gnu.mk to convert gnu/man to ${PKGGNUDIR}${PKGMANDIR}.
Also modify mk/install/install.mk to make the conversion when using
AUTO_MKDIRS.
2013-01-05 07:32:49 +00:00
jperkin
c6fe57f401 Introduce PKGGNUDIR as a way to control gnu prefix.
By default pkgsrc uses LOCABASE/gnu as a prefix for packages to install
native versions of GNU tools, which are them symbolically linked back to
the 'g' versions of the files in LOCALBASE, and users can then add
LOCALBASE/gnu/bin to PATH to pick up those tools.

On systems where the GNU environment is desired, PKGGNUDIR now allows
users to install the non-'g' files directly into LOCALBASE, making them
the default without having to alter PATH, whilst retaining the 'g' files
in order to ensure dependencies and tool paths remain the same.
2012-12-06 11:36:30 +00:00
cheusov
c8f63d3d1e "rebuild" and "retest" targets were added (by analogy with "reinstall").
rebuild is a special target to re-run the build target.
retest is a special target to re-run the test target.
2012-05-27 14:32:28 +00:00
jperkin
fda9afd836 typo. 2012-05-16 14:54:57 +00:00
obache
c1e494cad8 Allow to additional post-processing PLIST with PLIST_AWK and PLIST_AWK_ENV. 2012-05-13 12:39:47 +00:00
wiz
07ac64a423 Remove special handling for LOWER_VENDOR in print-PLIST, it hurts more
than it helps (e.g. replacing foo.pc with foo.${LOWER_VENDOR}).
2012-03-08 23:12:16 +00:00
tron
e97bea0dec Don't strip out "cat" manual pages if the package gets built via "imake".
The settings in "MANINSTALL" don't apply here.
2012-03-04 08:03:56 +00:00
abs
fc3bada41a Introduce PKGSRC_SETENV, defaulting to SETENV. Can be set to ${SETENV} -i
to santise environment
2011-09-08 20:17:15 +00:00
obache
49df322f3e escape `+' in DESTDIR for regex.
fixes PR#45245.
2011-08-30 11:19:51 +00:00
rillig
43f7a6c33c Handle MANINSTALL correctly for packages that USE_BSD_MAKEFILE.
Fixes PR 42714.
2010-02-20 07:05:52 +00:00
joerg
8e4b1dc7fa Kill more @dirrm logic. 2009-06-14 23:10:39 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
8a5245d7ec Don't generate @dirrm lines in print-PLIST, switch @exec mkdir lines to
@pkgdir.
2009-06-14 17:12:03 +00:00
wiz
49efd963a9 Add bem and crh locales for Gnome. 2009-05-20 08:24:29 +00:00
rillig
b1bf3ebab8 Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-03-17 22:13:36 +00:00
wiz
a7fe20c8c8 Add en_NZ locale. 2008-12-04 09:33:20 +00:00
wiz
6f9b8b3b92 Add la locale for GNOME (gedit). 2008-11-24 13:39:01 +00:00
wiz
9b507bf953 Add ast locale, for GNOME. 2008-11-23 11:13:50 +00:00
joerg
f8627203b3 Don't filter the PLIST for AIX, at least libtool nowadays also creates
ELF like names. From PR 39387.
2008-10-30 18:48:13 +00:00
wiz
fdf932e9a6 Add th_TH for bmpx. 2008-10-28 22:18:19 +00:00
wiz
bb09d0a5aa Add share/locale/ur_PK for file-roller. 2008-10-25 00:28:11 +00:00
wiz
ce4e401e2d Add share/locale/ks for evince. 2008-10-25 00:02:46 +00:00
wiz
aa264c10b5 Add a few locale dirs for gtk2. 2008-10-24 21:30:14 +00:00
wiz
4a9f241bb2 Add share/locale/mai for glib2-2.18.2. 2008-10-24 15:59:30 +00:00
wiz
1f5e40c359 Gnome prefers sr@latin to sr@Latn now, match this here. 2008-10-16 21:57:00 +00:00
wiz
9505ea65e6 Add share/locale/de_CH/LC_MESSAGES for gnucash. 2008-10-09 10:46:34 +00:00
joerg
019c84b592 Add share/locale/fur. 2008-08-18 20:16:21 +00:00
seb
700cddad6f Avoid quoting "other character" in awk's strings as regular expressions.
See pkg/39002.
2008-07-23 23:46:26 +00:00
wiz
c470f47f27 Add rm for gtkspell. 2008-05-30 12:08:44 +00:00
jlam
c29cfa0def Add better support for small conditional parts of PLISTs.
PLIST_VARS is the list of names corresponding to automatic variables
generated by plist.mk to simplify having conditionally-present entries
in the PLIST.  If "var" is listed in PLIST_VARS, then the automatic
variable is named PLIST.var.  If PLIST.var is defined, then in the PLIST
generation, the ${PLIST.var} symbol is replaced with the empty string,
or "@comment " otherwise.
2008-04-08 20:52:15 +00:00
rillig
1194eb3d9e The @imake-man macro should not yet be used, since it is subject to
further changes.
2008-01-05 17:03:04 +00:00
rillig
1d9b92e28d Some implementations of X11 install both manpages and catpages, which
has not been supported by pkgsrc up to now.

This changes adds a PLIST macro @imake-man that expands to zero, one or
two lines, depending on the value of IMAKE_MANINSTALL. Packages must
explicitly have the macro in the PLIST files to use this feature. Since
currently no package has that, this change doesn't affect anything at
all by now.

TODO: The platforms' definitions for IMAKE_MANINSTALL and the other
definitions like IMAKE_MAN_SUFFIX need to be adjusted.
2007-10-31 21:09:03 +00:00
jlam
ae9b935fd0 * If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty
2007-10-25 22:00:39 +00:00