diff options
-rw-r--r-- | ports-mgmt/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/portshaker/Makefile | 65 | ||||
-rw-r--r-- | ports-mgmt/portshaker/distinfo | 3 | ||||
-rw-r--r-- | ports-mgmt/portshaker/pkg-descr | 3 | ||||
-rw-r--r-- | ports-mgmt/portshaker/pkg-plist | 8 |
5 files changed, 80 insertions, 0 deletions
diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile index 1eeb150ad39e..c32e988761e1 100644 --- a/ports-mgmt/Makefile +++ b/ports-mgmt/Makefile @@ -57,6 +57,7 @@ SUBDIR += portrac SUBDIR += portscout SUBDIR += portsearch + SUBDIR += portshaker SUBDIR += portsman SUBDIR += portsopt SUBDIR += porttools diff --git a/ports-mgmt/portshaker/Makefile b/ports-mgmt/portshaker/Makefile new file mode 100644 index 000000000000..0c84c88e1aff --- /dev/null +++ b/ports-mgmt/portshaker/Makefile @@ -0,0 +1,65 @@ +# New ports collection makefile for: portshaker +# Date created: 2008-11-01 +# Whom: Romain Tartiere <romain@blogreen.org> +# +# $FreeBSD$ +# + +PORTNAME?= portshaker +PORTVERSION= 1.0.0 +PORTREVISION?= 0 +CATEGORIES?= ports-mgmt +MASTER_SITES= http://bsd-sharp.googlecode.com/files/ \ + http://romain.blogreen.org/distfiles/ +DISTNAME= portshaker-${PORTVERSION} + +MAINTAINER?= romain@FreeBSD.org +COMMENT?= Maintain ports tree using multiple sources + +.if ${PORTNAME} == "portshaker" +OPTIONS= RSYNC "Force dependency on rsync" on \ + SVN "Force dependency on Subversion" on \ + GIT "Force dependency on Git" off \ + HG "Force dependency on Mercurial" off \ + +MAN5= portshaker.conf.5 \ + portshaker.d.5 +MAN8= portshaker.8 +.else +OPTIONS= BSDSHARP "Enable BSD-sharp ports" on \ + MARCUSCOM "Enable GNOME development ports" off \ + TEXLIVE "Enable TeXLive ports (Experimental)" off +.endif + +.include <bsd.port.options.mk> + +.if ${PORTNAME} == "portshaker" + +. if defined(WITH_RSYNC) +RUN_DEPENDS+= rsync:${PORTSDIR}/net/rsync +. endif +. if defined(WITH_SVN) +RUN_DEPENDS+= svn:${PORTSDIR}/devel/subversion +. endif +. if defined(WITH_GIT) +RUN_DEPENDS+= git:${PORTSDIR}/devel/git +. endif +. if defined(WITH_HG) +RUN_DEPENDS+= hg:${PORTSDIR}/devel/mercurial +. endif + +.else + +. if defined (WITH_BSDSHARP) +MAKE_ENV+= WITH_BSDSHARP=1 +. endif +. if defined (WITH_MARCUSCOM) +MAKE_ENV+= WITH_MARCUSCOM=1 +. endif +. if defined (WITH_TEXLIVE) +MAKE_ENV+= WITH_TEXLIVE=1 +. endif + +.endif + +.include <bsd.port.mk> diff --git a/ports-mgmt/portshaker/distinfo b/ports-mgmt/portshaker/distinfo new file mode 100644 index 000000000000..edc4d4cbc0a4 --- /dev/null +++ b/ports-mgmt/portshaker/distinfo @@ -0,0 +1,3 @@ +MD5 (portshaker-1.0.0.tar.gz) = 8214a3f25800222c48a0f8baa7b536bc +SHA256 (portshaker-1.0.0.tar.gz) = 2339586b4c8a3a88a78e1bb310f6a0d31174fd21a71b7a5d4ea7bafc1013100b +SIZE (portshaker-1.0.0.tar.gz) = 24158 diff --git a/ports-mgmt/portshaker/pkg-descr b/ports-mgmt/portshaker/pkg-descr new file mode 100644 index 000000000000..796f4dc8306b --- /dev/null +++ b/ports-mgmt/portshaker/pkg-descr @@ -0,0 +1,3 @@ +portshaker(8) is a tool designed for merging partial ports trees into the +FreeBSD ports tree. In other words, it implements some kind of overlay for the +FreeBSD ports. diff --git a/ports-mgmt/portshaker/pkg-plist b/ports-mgmt/portshaker/pkg-plist new file mode 100644 index 000000000000..b2b745092e6c --- /dev/null +++ b/ports-mgmt/portshaker/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +bin/portshaker +etc/portshaker.conf.sample +%%DATADIR%%/merge-updating.awk +%%DATADIR%%/portshaker.subr +@exec mkdir -p %D/etc/portshaker.d +@dirrmtry etc/portshaker.d +@dirrm %%DATADIR%% |