1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/mail/premail/Makefile

37 lines
926 B
Makefile

# New ports collection makefile for: premail
# Date created: 31 Jan 1997
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= premail
PORTVERSION= 0.46
CATEGORIES= security mail
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>