de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# New ports collection makefile for: efax
|
|
# Date created: 11 May 2002
|
|
# Whom: MITA Yoshio <mita@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= efax-0.9a
|
|
PORTVERSION= 001114a7
|
|
PORTREVISION= 4
|
|
CATEGORIES= comms
|
|
MASTER_SITES= http://shino.pos.to/linux/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Fax send/receive program
|
|
|
|
RUN_DEPENDS= xloadimage:${PORTSDIR}/x11/xloadimage
|
|
|
|
USE_GMAKE= YES
|
|
MAN1= fax.1 \
|
|
efax.1 \
|
|
efix.1
|
|
DOCDIR= ${PREFIX}/share/doc/efax
|
|
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
|
|
|
post-build:
|
|
${MV} ${WRKSRC}/fax ${WRKSRC}/fax.orig
|
|
${CAT} ${WRKSRC}/fax.orig | ${SED} -e s!%%PREFIX%%!${PREFIX}!g > \
|
|
${WRKSRC}/fax
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/efax.rc.sample ${PREFIX}/etc
|
|
${INSTALL_DATA} ${WRKSRC}/efax.rc.sample.ja ${PREFIX}/etc
|
|
${MKDIR} ${DOCDIR}
|
|
.for i in COPYING README printcap.sample efax.html fax.html
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCDIR}
|
|
.endfor
|
|
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|