2009-07-14 00:44:24 +02:00
|
|
|
# New ports collection makefile for: wgetpaste
|
|
|
|
# Date created: 2 Jul 2009
|
|
|
|
# Whom: Anonymous
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wgetpaste
|
2012-04-30 05:09:07 +02:00
|
|
|
PORTVERSION= 2.19
|
2009-07-14 00:44:24 +02:00
|
|
|
CATEGORIES= www
|
2010-05-31 01:39:46 +02:00
|
|
|
MASTER_SITES= http://wgetpaste.zlin.dk/ \
|
2010-10-01 03:14:18 +02:00
|
|
|
LOCAL/sunpoet
|
2009-07-14 00:44:24 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}.example zlin.conf
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
2010-09-22 19:10:26 +02:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2009-07-14 00:44:24 +02:00
|
|
|
COMMENT= Paste to several pastebin services via bash script
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
|
|
|
|
${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2010-05-31 01:39:46 +02:00
|
|
|
USE_BZIP2= yes
|
2009-07-14 00:44:24 +02:00
|
|
|
|
2010-05-31 01:39:46 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} \
|
2009-07-14 00:44:24 +02:00
|
|
|
-e 's|/etc/|${PREFIX}/etc/|g' \
|
|
|
|
-e 's|\(INFO_COMMAND=\).*|\1"pkg_info -aE"|' \
|
|
|
|
-e 's|\(INFO_ARGS=\).*|\1|' \
|
2011-07-15 10:32:58 +02:00
|
|
|
${WRKSRC}/${PORTNAME}
|
2009-07-14 00:44:24 +02:00
|
|
|
|
|
|
|
do-install:
|
2011-07-15 10:32:58 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
|
|
|
${MKDIR} ${PREFIX}/share/zsh/site-functions/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/_${PORTNAME} ${PREFIX}/share/zsh/site-functions/
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.example ${PREFIX}/etc/${PORTNAME}.conf.sample
|
|
|
|
${MKDIR} ${PREFIX}/etc/${PORTNAME}.d/
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/zlin.conf ${PREFIX}/etc/${PORTNAME}.d/
|
2009-07-14 00:44:24 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|