blob: 5db25aa6ac2306bdf5cb78752f0894370a84e3b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: MITA Yoshio <mita@FreeBSD.org>
# $FreeBSD$
PORTNAME= efax-0.9a
PORTVERSION= 001114a7
PORTREVISION= 6
CATEGORIES= comms
MASTER_SITES= http://shino.pos.to/linux/
MAINTAINER= ports@FreeBSD.org
COMMENT= Fax send/receive program
RUN_DEPENDS=xloadimage:${PORTSDIR}/x11/xloadimage
DOCSDIR= ${PREFIX}/share/doc/efax
PORTDOCS= COPYING README printcap.sample efax.html fax.html
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
INSTALL_DATA="${INSTALL_DATA}"
SUB_FILES= pkg-message
CONFLICTS= efax-gtk-*
post-patch:
${REINPLACE_CMD} -e 's,$$(PREFIX),${STAGEDIR}&,g' ${WRKSRC}/Makefile
post-build:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/fax
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_DATA} ${WRKSRC}/efax.rc.sample ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/efax.rc.sample.ja ${STAGEDIR}${PREFIX}/etc/efax.rc.ja.sample
@${MKDIR} ${STAGEDIR}/var/spool/fax/incoming
${TOUCH} ${STAGEDIR}/var/spool/fax/incoming/.keepme
@${MKDIR} ${STAGEDIR}/var/spool/fax/outgoing
${TOUCH} ${STAGEDIR}/var/spool/fax/outgoing/lock
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|