1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/mail/mailx/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

38 lines
906 B
Makefile

# Created by: Issei Suzuki <issei@jp.FreeBSD.org>
# $FreeBSD$
PORTNAME= mailx
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= PORTS_JP
DISTFILES= mail-2.2.8.tar.gz mailx-memo-2.2.8R
PATCH_SITES= PORTS_JP
PATCHFILES= mailx.v05.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
COMMENT= Mail command with mailx extensions
CONFLICTS= heirloom-mailx-[0-9]*
EXTRACT_ONLY= mail-2.2.8.tar.gz
WRKSRC= ${WRKDIR}/mail-2.2.8
USES= perl5
USE_PERL5= run build patch
post-patch:
${PERL5} -pi.bak -e 's/^(\.Nm mail)/$$1x/i; s/^(\.Dt MAIL)/$$1X/' \
${WRKSRC}/mail.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mail ${STAGEDIR}${PREFIX}/bin/mailx
${INSTALL_MAN} ${WRKSRC}/mail.1.gz \
${STAGEDIR}${PREFIX}/man/man1/mailx.1.gz
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/mailx
${INSTALL_DATA} ${DISTDIR}/mailx-memo-2.2.8R \
${STAGEDIR}${PREFIX}/share/doc/mailx
.include <bsd.port.mk>