1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/mail/mailx/Makefile

37 lines
939 B
Makefile
Raw Normal View History

# New ports collection makefile for: mailx
# Date created: 18 Febrary 1999
# Whom: Issei Suzuki <issei@jp.FreeBSD.org>
#
1999-08-25 06:51:17 +00:00
# $FreeBSD$
#
2000-04-13 20:01:08 +00:00
PORTNAME= mailx
PORTVERSION= 0.5
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_PORTS_JP}
DISTFILES= mail-2.2.8.tar.gz mailx-memo-2.2.8R
PATCH_SITES= ${MASTER_SITE_PORTS_JP}
PATCHFILES= mailx.v05.patch.gz
PATCH_DIST_STRIP= -p1
2002-02-16 05:32:08 +00:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 19:00:52 +00:00
COMMENT= Mail command with mailx extensions
EXTRACT_ONLY= mail-2.2.8.tar.gz
WRKSRC= ${WRKDIR}/mail-2.2.8
USE_PERL5= yes
MAN1= mailx.1
MANCOMPRESSED= yes
post-patch:
${PERL5} -pi.bak -e 's/^(\.Nm mail)/$$1x/i; s/^(\.Dt MAIL)/$$1X/' ${WRKSRC}/mail.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mail ${PREFIX}/bin/mailx
${INSTALL_MAN} ${WRKSRC}/mail.1.gz ${PREFIX}/man/man1/mailx.1.gz
${MKDIR} ${PREFIX}/share/doc/mailx
${INSTALL_DATA} ${DISTDIR}/mailx-memo-2.2.8R ${PREFIX}/share/doc/mailx
.include <bsd.port.mk>