diff --git a/devel/pmk/Makefile b/devel/pmk/Makefile new file mode 100644 index 00000000000..635534afa4f --- /dev/null +++ b/devel/pmk/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2004/12/23 21:42:16 couderc Exp $ + +COMMENT= "dependency configuration tool" + +VERSION= 0.8.2 +DISTNAME= pmk-${VERSION} +CATEGORIES= devel + +HOMEPAGE= http://pmk.sourceforge.net/ + +MAINTAINER= Damien Couderc + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmk/} + +CONFIGURE_ENV+= SYSCONFDIR=${SYSCONFDIR} +CONFIGURE_STYLE= simple +CONFIGURE_SCRIPT= /bin/sh pmkcfg.sh -p ${PREFIX} + +NO_REGRESS= Yes + + +.include diff --git a/devel/pmk/distinfo b/devel/pmk/distinfo new file mode 100644 index 00000000000..62ba523824b --- /dev/null +++ b/devel/pmk/distinfo @@ -0,0 +1,3 @@ +MD5 (pmk-0.8.2.tar.gz) = f2cc4a9987b5d97bf4f8d0be925a79fb +RMD160 (pmk-0.8.2.tar.gz) = b096c768e95eda35f6b6e73b860f928aa5173787 +SHA1 (pmk-0.8.2.tar.gz) = 6f104980962424f0f1d1e61d6dba0a011bf8d269 diff --git a/devel/pmk/patches/patch-pmkcfg_sh b/devel/pmk/patches/patch-pmkcfg_sh new file mode 100644 index 00000000000..05734cc362b --- /dev/null +++ b/devel/pmk/patches/patch-pmkcfg_sh @@ -0,0 +1,14 @@ +$OpenBSD: patch-pmkcfg_sh,v 1.1.1.1 2004/12/23 21:42:16 couderc Exp $ +--- pmkcfg.sh.orig Thu Dec 23 22:14:37 2004 ++++ pmkcfg.sh Thu Dec 23 22:16:21 2004 +@@ -47,8 +47,8 @@ if test "$1" != "autodetected"; then + posix_sh="/bin/sh" + fi + fi +- printf "Using $posix_sh $0 $@\n\n" +- $posix_sh $0 "autodetected" "$@" ++ printf "Using %s %s %s\n\n" "$posix_sh" "$0" "$*" ++ $posix_sh $0 "autodetected" "$*" + exit $? + else + # skip "autodetected" diff --git a/devel/pmk/pkg/DESCR b/devel/pmk/pkg/DESCR new file mode 100644 index 00000000000..0818be4e5aa --- /dev/null +++ b/devel/pmk/pkg/DESCR @@ -0,0 +1,10 @@ +The `Pre-Make Kit` project is a configuration tool for source dependencies. +It aims to provide an alternative to GNU autoconf. + +Goals: +* Avoid the use of scripts in packages that can hide trojans. +* Try to keep the needed dependencies near from zero (actually at zero). +* Make it easy to use for users and developers. +* Provide the package in a free and usable license for everybody (BSD). +* Limit the changes in sources for a transition from autoconf. + diff --git a/devel/pmk/pkg/MESSAGE b/devel/pmk/pkg/MESSAGE new file mode 100644 index 00000000000..a19a3042179 --- /dev/null +++ b/devel/pmk/pkg/MESSAGE @@ -0,0 +1,4 @@ +The pmksetup utility has been executed to update or modify the following +configuration file: + +${SYSCONFDIR}/pmk/pmk.conf diff --git a/devel/pmk/pkg/PLIST b/devel/pmk/pkg/PLIST new file mode 100644 index 00000000000..7b630ad4d9f --- /dev/null +++ b/devel/pmk/pkg/PLIST @@ -0,0 +1,19 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2004/12/23 21:42:16 couderc Exp $ +bin/pmk +bin/pmkinstall +bin/pmkpc +bin/pmkscan +@man man/man1/pmk.1 +@man man/man1/pmkinstall.1 +@man man/man1/pmkscan.1 +@man man/man5/pmk.conf.5 +@man man/man5/pmkfile.5 +@man man/man8/pmksetup.8 +sbin/pmksetup +@exec %B/pmksetup +share/pmk/ +share/pmk/pmk.conf.sample +share/pmk/pmkcfgtool.dat +share/pmk/pmkcomp.dat +share/pmk/pmkfile.sample +share/pmk/pmkscan.dat diff --git a/devel/pmk/pkg/UNMESSAGE b/devel/pmk/pkg/UNMESSAGE new file mode 100644 index 00000000000..5b4257798ce --- /dev/null +++ b/devel/pmk/pkg/UNMESSAGE @@ -0,0 +1,7 @@ +To completely deinstall this package you need to perform these steps as +root: + +rm -r ${SYSCONFDIR}/pmk + +Do not do this if you plan on re-installing this package at some future +time.