File:
[cvs.NetBSD.org] /
pkgsrc /
net /
wgetpaste /
Makefile
Revision
1.2:
download - view:
text,
annotated -
select for diffs
Tue Oct 23 17:19:18 2012 UTC (12 years, 1 month ago) by
asau
Branches:
MAIN
CVS tags:
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
# $NetBSD: Makefile,v 1.2 2012/10/23 17:19:18 asau 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
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"
CVSweb <webmaster@jp.NetBSD.org>