1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/mail/xmailbox/Makefile
Steve Price e9284d7b92 Support PREFIX properly.
PR:		17853
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-04-30 19:35:57 +00:00

35 lines
850 B
Makefile

# New ports collection makefile for: xmailbox
# Date created: 23 May 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= xmailbox
PORTVERSION= 2.5
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_IMAKE= yes
MAN1= xmailbox.1
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/XMailbox.ad
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)
@${MKDIR} ${PREFIX}/share/doc/xmailbox
${INSTALL_DATA} ${WRKSRC}/DISCLAIMER ${PREFIX}/share/doc/xmailbox
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmailbox
.endif
.include <bsd.port.mk>