aboutsummaryrefslogtreecommitdiff
path: root/mail/xmailbox
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-28 22:06:54 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-28 22:06:54 +0000
commit053a8a16409e22767824c96bed4131cd061bdb56 (patch)
tree4c9dfc7288aabc6494176013bf9b9b026738d1a6 /mail/xmailbox
parentf7ae779188581f17c813e0736de2ebc61f89e5d4 (diff)
downloadports-053a8a16409e22767824c96bed4131cd061bdb56.tar.gz
ports-053a8a16409e22767824c96bed4131cd061bdb56.zip
Notes
Diffstat (limited to 'mail/xmailbox')
-rw-r--r--mail/xmailbox/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/mail/xmailbox/Makefile b/mail/xmailbox/Makefile
index 815eb21b4e9a..7f5993d23f2d 100644
--- a/mail/xmailbox/Makefile
+++ b/mail/xmailbox/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xmailbox
-# Date created: 23 May 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xmailbox
PORTVERSION= 2.5
@@ -15,9 +11,11 @@ MASTER_SITE_SUBDIR= applications
MAINTAINER= ports@FreeBSD.org
COMMENT= Mailbox checker with sound and animation for X Window System
-USE_IMAKE= yes
-USE_XORG= xaw
-MAN1= xmailbox.1
+USES= imake
+USE_XORG= xaw
+MAN1= xmailbox.1
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/XMailbox.ad
@@ -26,7 +24,7 @@ post-install:
@${MKDIR} ${PREFIX}/share/xmailbox
${INSTALL_DATA} ${WRKSRC}/dingdong.au ${PREFIX}/share/xmailbox
${INSTALL_DATA} ${WRKSRC}/ugotmail.au ${PREFIX}/share/xmailbox
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/share/doc/xmailbox
${INSTALL_DATA} ${WRKSRC}/DISCLAIMER ${PREFIX}/share/doc/xmailbox
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmailbox