blob: e607f22186c4f52afd89f8e1496fa0b0422dd292 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.14 2012/10/03 21:56:24 wiz Exp $
#
DISTNAME= fromto-1.5
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/
EXTRACT_SUFX= #empty
MAINTAINER= bad@NetBSD.org
COMMENT= Sendmail logfile viewer
LICENSE= fromto-license # XXX missing
RESTRICTED= Redistribution allowed for non-commercial purposes only
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_TOOLS+= perl:run
INSTALLATION_DIRS= bin
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/fromto.in
do-build:
(cd ${WRKSRC} ; ${SED} -e "1s,/usr/local,${PREFIX}," fromto.in >fromto)
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/fromto ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|