mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
b674570f10
magic and a pkg-message. Rename patches to avoid forbidden characters. Use @sample.
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# 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>
|