diff options
author | obache <obache@pkgsrc.org> | 2012-08-11 08:43:45 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-08-11 08:43:45 +0000 |
commit | e90ca06da5fcd32a42b6c80f5d6c2f3eacf02add (patch) | |
tree | afa92d66b295b1f0981bfed30c45871e42845b6c /net/wgetpaste/Makefile | |
parent | 3947bcfd5aaf21d74f24ff864303f40abb015d2f (diff) | |
download | pkgsrc-e90ca06da5fcd32a42b6c80f5d6c2f3eacf02add.tar.gz |
Import wgetpaste-2.20 as net/wgetpaste.
PR 46744 by Matthew Mondor.
A Script that automates pasting to a number of pastebin services
relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee)
and wget.
Diffstat (limited to 'net/wgetpaste/Makefile')
-rw-r--r-- | net/wgetpaste/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net/wgetpaste/Makefile b/net/wgetpaste/Makefile new file mode 100644 index 00000000000..ccc247a0bfb --- /dev/null +++ b/net/wgetpaste/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1 2012/08/11 08:43:45 obache Exp $ + +DISTNAME= wgetpaste-2.20 +CATEGORIES= net www +MASTER_SITES= http://wgetpaste.zlin.dk/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://wgetpaste.zlin.dk/ +COMMENT= Command line utility to upload to pastebin sites +LICENSE= public-domain + +DEPENDS+= wget>=1.13.4:../../net/wget + +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= bin share/examples/wgetpaste etc +NO_BUILD= yes + +CONF_FILES= ${PREFIX}/share/examples/wgetpaste/wgetpaste.conf ${PKG_SYSCONFDIR}/wgetpaste.conf + +SUBST_CLASSES+= config +SUBST_SED.config+= -e "s,/etc/,${PKG_SYSCONFDIR}/,g" +SUBST_FILES.config+= wgetpaste +SUBST_STAGE.config= pre-install +SUBST_MESSAGE.config= Fixing path to global config files. + +USE_TOOLS+= bash:run +REPLACE_BASH= wgetpaste + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/wgetpaste ${DESTDIR}${PREFIX}/bin/wgetpaste + ${INSTALL_DATA} ${FILESDIR}/wgetpaste.conf ${DESTDIR}${PREFIX}/share/examples/wgetpaste/wgetpaste.conf + +.include "../../mk/bsd.pkg.mk" |