aboutsummaryrefslogtreecommitdiffstats
path: root/mail/premail/Makefile
blob: b0a2204fff5a48ccf293ee4df279f2a0b27a12a7 (plain) (blame)
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
36
37
# New ports collection makefile for:    premail
# Date created:             31 Jan 1997
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=   premail
PORTVERSION=    0.46
PORTREVISION=   1
CATEGORIES= mail security
MASTER_SITES=   ftp://ftp.jpunix.com/pub/remailer-tools/ \
        ftp://ftp.kiarchive.ru/pub/unix/crypto/

MAINTAINER= ache@FreeBSD.org

BUILD_DEPENDS+= pgp:${PORTSDIR}/security/pgp

WRKSRC=     ${WRKDIR}/premail
USE_PERL5=  yes
NO_BUILD=   yes

post-patch:
    cd ${WRKSRC}; \
    ${CP} premail premail.old; \
    ${SED} 's=#!/usr/local/bin/perl=#!${PERL} -w=' < premail.old > premail

do-install:
    cd ${WRKSRC} && ${INSTALL_SCRIPT} premail ${PREFIX}/bin
    ${MKDIR} -m 555 ${PREFIX}/share/doc/premail
    cd ${WRKSRC} && ${INSTALL_DATA} \
       preferences doc-0.46.html doc-0.46.txt ${PREFIX}/share/doc/premail
    @${ECHO_MSG}
    @${ECHO_MSG} "Check ${PREFIX}/share/doc/premail for further instructions"
    @${ECHO_MSG}

.include <bsd.port.mk>