1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
Boris Samorodov
41aa63fa0b 1. Introduce using iconv with arguments:
. lib (default, implicit);
. build,
. patch.

The default is the same, all existing ports stay valid.

2. Introduce variable ICONV_CMD with default to ${LOCALBASE}/bin/iconv.
It is intended to get the value of /usr/bin/iconv at recent 10.x.

3. Adopt all ports to using USES+= icomv:build and iconv:patch and
change iconv (executable) at Makefile commands to ${ICONV_CMD} at those ports.

Submitted by:	bsam (me, via e-mail)
Approved by:	portmgr (bapt)
2013-09-02 05:41:50 +00:00
Raphael Kubo da Costa
c7f4daf154 Fix grammar in comment 2013-08-25 16:38:15 +00:00
Marcus von Appen
fecac8453d - Fix a documentation typo 2013-08-25 16:14:28 +00:00
Sunpoet Po-Chuan Hsieh
b31d1ef612 - Sync comment with default PERL_VERSION 2013-08-22 17:09:46 +00:00
Mathieu Arnold
3ffb70faa9 And actually allow people to continue using ports.
Submitted by:	az
2013-08-13 13:45:16 +00:00
Mathieu Arnold
5647074878 Introduce Perl 5.18.1
Changes:        http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod
Changes:        http://search.cpan.org/dist/perl-5.18.1/pod/perldelta.pod
2013-08-13 13:04:55 +00:00
Baptiste Daroussin
27b5677573 New USES= perl5
Deprecate and replaces bsd.perl.mk, it adds more consistency:
only USE_PERL5 is needed to define all expected behaviour.

USE_PERL5 accept the following arguments:
Version: like 5.14+
- configure (formerly PERL_CONFIGURE=yes)
- run (formerly USE_PERL5_RUN=yes)
- build (formerly USE_PERL5_BUILD=yes)
- patch (only use perl as a patch dependency)
- extract (only use perl as an extract dependency)
- modbuild (formerly PERL_MODBUILD)

It has the new
P5MAN{1,2,3,4,5,6,7,8} macros equivalent to MAN{1,....} but depending on the perl path.

Reviewed by:	az
Thanks to:	az
2013-07-31 06:29:25 +00:00
Baptiste Daroussin
07b24b6cf9 Define MAKE_CMD in post.mk to allow anything to overwrite it 2013-07-30 06:32:01 +00:00
Baptiste Daroussin
aa6a847926 Reduce code duplication by overwriting MAKE_CMD when it is different. 2013-07-30 05:33:25 +00:00
Baptiste Daroussin
576ac6ff17 Use new LIB_DEPENDS format 2013-07-29 20:51:23 +00:00
Baptiste Daroussin
73b0eb9791 Use new LIB_DEPENDS format
Reported by:	mandree
2013-07-29 20:50:14 +00:00
Koop Mast
e03cd93ee2 Quiet update-desktop-database output, like when it complaining about invalid
MIME types in .desktop files. It all non-fatal, and ugly to boot.

PR:		ports/180843
Submitted by:	pawel@
2013-07-25 19:07:37 +00:00
John Marino
5feebd9c74 Replace John Marino email address with FreeBSD version
While I'm here, also trim the headers on a couple of ports and remove
a reference to the Dragonlace mirror which is down indefinitely.

Approved by:	bapt (mentor)
2013-07-12 13:40:50 +00:00
Baptiste Daroussin
9b17397fe0 New USES=motif that will handle the open-motif dependency.
If a user want to enforce lesstif in place of open-motif then the usual
WANT_LESSTIF in make.conf will be respected
2013-07-09 21:05:14 +00:00
Baptiste Daroussin
7ab85fc309 Remove target name restriction on USES=display
To allow to activate display on any targets
2013-07-08 13:43:38 +00:00
Baptiste Daroussin
edf7ecb356 Remove direct usage of X_FONTS_MISC_PORT and X_FONTS_ALIAS_PORT
While here fixed missing ${PORTSDIR} [1]

Reported by:	rm [1]
2013-07-07 12:56:07 +00:00
Baptiste Daroussin
71aec7fcbd Fix MAKE_FORCE_JOBS 2013-07-06 12:53:57 +00:00
Baptiste Daroussin
01d6c7d5de Import new gmake.mk and rip out USE_GMAKE from bsd.port.mk
A USE_GMAKE stub as be created to help migration please now use USES=gmake

Reviewed by:	bdrewery
Exp-run by:	bdrewery
2013-07-05 13:32:31 +00:00
Baptiste Daroussin
4c10c42149 Reverting r322247 it breaks too many imake:env users while only fixing a couple, better to fix the couple that needs it port by port 2013-07-03 19:23:20 +00:00
Baptiste Daroussin
2f18bb58d8 LATE_INSTALL_ARGS needs to be defined either in case of imake:env
Reported by:	dinoex
2013-07-03 18:54:59 +00:00
Baptiste Daroussin
932db7c46c New USES imake to handle the dependency on imake.
This uses accept 'env' as an argument for ports that do use their own or a different do-configure target.

Modify xmkmf so it accept IMAKECPPFLAGS as default flags for imake and pass it to the called imake.
Modify xorg-cf-files (the FreeBSD.cf configuration file) to allow CppCmd to be overwritten.
Pass CppCmd CcCmd and CplusplusCmd via command line to each call of imake via IMAKECPPFLAGS
Pass IMAKE_DEFINE with the above arguments to MAKE_ARGS so that imake spawned from Makefile generated by a previous
imake also inherit the defined CppCmd CcCmd and CplusplusCmd.
Make imake use devel/tradcpp all the time, so that when buidling with clang we do not depend on gcc's cpp.
Make imake respect CC and CXX
Make imake respect USE_GCC (if set imake will use gcc's cpp).

While here:
- Remove a couple of indefinite articles from comments
- Trim headers
- Fix a couple of ports to build with clang or use: USE_GCC=any
- Fix a now useless redefinition of the extraction chain
- Fix a typo in japanese/Wnn7-lib bundled imake template definitions
- Fix some XMKMF execution with no env specified
- Use options helper in x11/xautolock to simplify the port
2013-06-28 11:51:05 +00:00
Baptiste Daroussin
3e0fd1eb74 Fix stop-display target 2013-06-27 10:39:43 +00:00
Baptiste Daroussin
4698330b90 Add a new USES: fmake
This uses will allow to build ports using the legacy FreeBSD make, for ports
not compatible with bmake
2013-06-20 09:48:08 +00:00
Baptiste Daroussin
e290dec1ca Add a USES display to replace USE_DISPLAY.
as USE_DISPLAY it will handle the dependencies needed for a display. But it will also start and stop the Xfvb process during the requested phase the display it needed.

it takes 'install' as an implicit argument, but may also accept 'build'
2013-06-14 12:47:19 +00:00
Baptiste Daroussin
6c4c1fc2e9 Add some more comment to explain how SHEBANG_FILES works
Requested by:	kwm (gnome)
2013-06-10 10:18:59 +00:00
Baptiste Daroussin
5bf94309a6 Do not leave .bak files after converting shebangs 2013-05-29 10:34:57 +00:00
Baptiste Daroussin
358325c418 Add new USES: shebangfix
use it to fix shebang on files specified by SHEBANG_FILES macro, by default it
proposes default values for bash, perl, php, python, ruby, it can be customized
and extended
2013-05-06 22:23:09 +00:00
Baptiste Daroussin
70a8367404 Fix failure when testing ncurses with pkg_install
PR:		ports/178373
Reported by:	Andrew Wright <ahamiltonwright@mta.ca>
2013-05-06 21:34:57 +00:00
Baptiste Daroussin
928a73343e Actually commit the right version of ncurses.mk
Reported by:	rene
2013-05-06 16:02:05 +00:00
Baptiste Daroussin
71bf80b1e5 Add new USES: ncurses and readline 2013-05-06 15:31:45 +00:00
Baptiste Daroussin
0fb68fa55f Add a new USES ada.mk to establish Ada-capable compiler as a build dependency
and set the build environement properly

Submitted by:	John Marino <draco@marino.st>
2013-04-30 11:41:44 +00:00
Marcus von Appen
67ef08ef8b Introduces USES= iconv to replace USE_ICONV.
It takes no arguments.

This deprecates USE_ICONV, please convert your ports.
USE_ICONV will be removed as soon as it is no more used in
the ports tree.

Approved by:	portmgr (bapt)
2013-04-26 20:44:59 +00:00
Koop Mast
2c62c65799 Fix typos so they match the command and file name.
Submitted by:	bsam@
2013-04-23 09:32:14 +00:00
Jason Helfman
a81cf14346 Introduces USES= gettext to replace USE_GETTEXT
It can take 3 arguments:
  build to add gettext into both RUN and BUILD DEPENDS
  run to add gettext into RUN_DEPENDS
  lib (default,implicit) to add gettext into LIB_DEPENDS

  This deprecates USE_GETTEXT. Please convert your ports.
  USE_GETTEXT will be removed as soon as it is no longer used in
  the ports tree

Approved by:	portmgr (bapt)
2013-04-23 07:27:18 +00:00
Baptiste Daroussin
ed31a0d5e6 Introduce USES= pkgconfig to replace USE_PKGCONFIG
It can take 3 arguments:
build (default,implicit) to add pkgconf into BUILD_DEPENDS
run to add pkgconf into RUN_DEPENDS
both to add pkgconf into both RUN and BUILD DEPENDS

This deprecates USE_PKGCONFIG, please convert your ports.
USE_PKGCONFIG will be removed as soon as it is no more used in
the ports tree
2013-04-22 22:25:20 +00:00
Koop Mast
1edeb5657a update-mime-database needs a argument.
Submitted by:	Tijl coosemans <tijl@coosemans.org> (again)
Pointyhat to:	kwm
Feature safe:	yes
2013-04-17 09:26:39 +00:00
Koop Mast
4f8a977174 Run correct command in post-install target.
Submitted by:	Tijl coosemans <tijl@coosemans.org>
Feature safe:	yes
2013-04-17 08:13:58 +00:00
Koop Mast
609b9bbab0 Add desktop-file-utils and share-mime-info Uses. These will take care of all
the magic.

Approved by:	portmgr (bapt)
Feature safe:	yes
2013-04-16 21:21:25 +00:00
Koop Mast
6ef93558db Add new replace line for pkg-config file location.
PR:		ports/177868
Submitted by:	myself
Approved by:	portmgr (bapt)
Feature safe:	yes
2013-04-16 15:45:03 +00:00
Baptiste Daroussin
a5343ca147 Workaround a bug in tinderbox/pointyhat that leaks /sbin/mount_fuse
from the host when host is HEAD.

This leads when building packages for 9.x or 8.x to ignore the fuse-kmod
dependency the fuse ports should have on those versions.
2013-03-27 23:39:43 +00:00
Jason Helfman
1c09104064 - Add New USES macro to handle support for Zenoss ports and Zenpacks:
USES= zenoss
-trim historical headers

Convert net-mgmt/zenpack family to new framework

PR:		176723
Approved by:	maintainer timeout ( 14 days )
2013-03-20 06:28:43 +00:00
Max Brazhnikov
f8a306de30 Convert USE_CMAKE to USES macro:
Usage:		USES= cmake or USES= cmake:ARGS
 Valid ARGS:	outsource (perform an out-of-source build)

Tested by:	exp-run (bapt)
Approved by:	portmgr (bapt)
2013-03-19 17:59:30 +00:00
Baptiste Daroussin
e7b0f97788 Fix a long standing bug of lib/charset.alias being overwritten, modified, and badly tracked by ports.
Make lib/charset.alias a file only provided by converters/libiconv
Create a new USES: charsetfix, that will modify in post patch the Makefile.in to prevent a port from modifying/overwritting the charset.alias file during make install.
Prevent devel/gettext from installing that files.
Fix a couple of ports that actually touch charset.alias during the build phase.

Based on a patch by ale (http://lists.freebsd.org/pipermail/freebsd-gnome/2012-October/027747.html)

Approved by:	kwm (gnome)
Exp-run by:	miwi
2013-03-18 11:40:04 +00:00
Bryan Drewery
63f96859ce - Convert USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL into USES feature
bapt contributed to the qmail.mk as well
- Trim headers

USES= qmail:run will add qmail into RUN_DEPENDS
USES= qmail:build will add qmail into BUILD_DEPENDS
USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
USES= qmail:vars will set QMAIL_PREFIX

With hat:	portmgr
2013-03-15 22:03:42 +00:00
Andrej Zverev
57bea98035 - Change namespace for USES files
- Add missing colon

Approved by:	bapt@ (portmgr@)
2013-03-11 06:43:13 +00:00
Baptiste Daroussin
89c42942a5 Add tab for cosmetic 2013-03-08 22:17:53 +00:00
Baptiste Daroussin
051cbebcc8 - Add a short usage description inside each Uses/*.mk
- Simplify logic for Uses/bison.mk and make error message more informative
- Add error handler for Uses/fuse.mk and Uses/pathfix.mk

Submitted by:	ak@, az@
2013-03-08 15:04:18 +00:00
Baptiste Daroussin
9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00
Baptiste Daroussin
da12e6723d Convert USE_FUSE macros into USES feature.
While here trim headers
Convert some USE_GNOME= gnomehack -> USES= pathfix
2013-03-06 16:52:02 +00:00
Baptiste Daroussin
c96dbe0041 Add a newline to improve readability 2013-03-06 15:12:29 +00:00