- replace do-extract target with proper use of EXTRACT_ variables

- change lots of whitespace to tabs
- add HOMEPAGE
- remove license type
- add @comment with RCS id to PLIST
- use better filename for patch and change it to a unified diff
This commit is contained in:
brad 2000-06-26 20:05:18 +00:00
parent 47f6ba09b8
commit 2b434e1a6c
5 changed files with 29 additions and 31 deletions

View File

@ -1,29 +1,29 @@
# $OpenBSD: Makefile,v 1.11 2000/06/04 21:40:43 espie Exp $ # $OpenBSD: Makefile,v 1.12 2000/06/26 20:05:18 brad Exp $
DISTNAME= adcomplain-3.49 DISTNAME= adcomplain-3.49
CATEGORIES= mail news CATEGORIES= mail news
NEED_VERSION= 1.191 NEED_VERSION= 1.301
MASTER_SITES= http://www.rdrop.com/users/billmc/
DISTFILES= adcomplain.pl.uu
MAINTAINER= ports@openbsd.org HOMEPAGE= http://www.rdrop.com/users/billmc/adcomplain.html
EXTRACT_CMD= uudecode
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= #
MAINTAINER= ports@openbsd.org
LICENSE_TYPE= GPL
PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.rdrop.com/users/billmc/ NO_BUILD= Yes
DISTFILES= adcomplain.pl.uu
WRKDIST= ${WRKDIR} WRKDIST= ${WRKDIR}
NO_BUILD= Yes
do-extract:
mkdir ${WRKSRC}
cd ${WRKSRC}; /usr/bin/uudecode < ${FULLDISTDIR}/${DISTFILES}
do-install: do-install:
cd ${WRKSRC}; \ cd ${WRKSRC}; ${INSTALL_SCRIPT} adcomplain.pl ${PREFIX}/bin/adcomplain
${INSTALL_SCRIPT} adcomplain.pl ${PREFIX}/bin/adcomplain
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,16 +0,0 @@
*** adcomplain.pl.orig Sat May 16 23:52:32 1998
--- adcomplain.pl Sat May 16 23:52:53 1998
***************
*** 1,7 ****
! #! /bin/sh -- # -*- perl -*-
! # first line invokes sh. Some systems may need to refer to perl directly, i.e.:
!
! #! /bin/perl
# But the first way is preferable, because we have a trick (below) that
# allows perl to be _anywhere_ in the user's path. The intent is to reduce
--- 1,4 ----
! #! /usr/bin/perl
# But the first way is preferable, because we have a trick (below) that
# allows perl to be _anywhere_ in the user's path. The intent is to reduce

View File

@ -0,0 +1,11 @@
--- adcomplain.pl.orig Mon Jun 26 15:57:58 2000
+++ adcomplain.pl Mon Jun 26 15:58:18 2000
@@ -1,7 +1,4 @@
-#! /bin/sh -- # -*- perl -*-
-# first line invokes sh. Some systems may need to refer to perl directly, i.e.:
-
-#! /bin/perl
+#! /usr/bin/perl
# But the first way is preferable, because we have a trick (below) that
# allows perl to be _anywhere_ in the user's path. The intent is to reduce

View File

@ -12,3 +12,5 @@ most appropriate way to complain. Mail bombing (e-mailing megabytes
of useless data) and public flaming (replying on usenet, causing your of useless data) and public flaming (replying on usenet, causing your
complaint to be duplicated on every machine in the network) are complaint to be duplicated on every machine in the network) are
discouraged. discouraged.
WWW: ${HOMEPAGE}

View File

@ -1 +1,2 @@
@comment $OpenBSD: PLIST,v 1.2 2000/06/26 20:05:19 brad Exp $
bin/adcomplain bin/adcomplain