mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
24bf28eff1
- Bump PORTVERSION of ports affected Tested by: pointyhat (pav)
41 lines
971 B
Makefile
41 lines
971 B
Makefile
# New ports collection makefile for: tkscanfax
|
|
# Date created: 11 Mai 2002
|
|
# Whom: MITA Yoshio <mita@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tkscanfax
|
|
PORTVERSION= 1.1.8
|
|
PORTEPOCH= 1
|
|
PORTREVISION= 1
|
|
CATEGORIES= comms tk
|
|
MASTER_SITES= http://shino.pos.to/linux/tkscanfax/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Tcl/Tk frontend for fax scan/receive/send program (command is tkfax)
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}1
|
|
|
|
NO_BUILD= yes
|
|
USE_TK_WRAPPER= yes
|
|
|
|
PLIST_SUB= TKSCANFAXDIR="${TKSCANFAXDIR:S,^${PREFIX}/,,}"
|
|
|
|
TKSCANFAXDIR= ${PREFIX}/lib/tkscanfax1
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -i '' -e \
|
|
's|/usr/local/lib|${PREFIX}/lib|g'
|
|
|
|
do-install:
|
|
@${MKDIR} ${TKSCANFAXDIR}
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${TKSCANFAXDIR})
|
|
.for file in tkfax tkscan
|
|
${CHMOD} ${BINMODE} ${TKSCANFAXDIR}/${file}
|
|
${CHOWN} ${BINOWN}:${BINGRP} ${TKSCANFAXDIR}/${file}
|
|
${LN} -sf ${TKSCANFAXDIR}/${file} ${PREFIX}/bin
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|