1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/textproc/nfbtrans/Makefile
Satoshi Asami 5114e2637e Adjust port Makefiles to new EXTRACT_* variable defaults. See log of
bsd.port.mk rev. 1.304 for details on the change.

The fix here is one of the following.

(1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining
    EXTRACT_* commands.

(2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously
    calling the "tar" command (i.e., arguments like "-xzf" are spelled
    out).

(3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS},
    add ${EXTRACT_AFTER_ARGS} to the command line as well.

(4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS
    is set, define the other two too.
1999-02-03 11:12:01 +00:00

48 lines
1.4 KiB
Makefile

# New ports collection makefile for: nfbtrans
# Version required: 7.50.2
# Date created: 30 Aug 1998
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
# $Id: Makefile,v 1.2 1998/12/01 09:32:32 obrien Exp $
#
DISTNAME= nfbtr750
PKGNAME= nfbtrans-7.50.2
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.netcom.com/pub/in/inge/
EXTRACT_SUFX= .zip
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} nfb7502.zip
MAINTAINER= max@FreeBSD.ORG
BROKEN="fetch, nfb7507 is the latest"
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
RESTRICTED= "Unclear copyright status"
EXTRACT_CMD= unzip
EXTRACT_BEFORE_ARGS= -q -a -L -o
EXTRACT_AFTER_ARGS= # empty
NO_WRKSUBDIR= yes
ALL_TARGET= freebsd
MAKEFILE= makefile
do-install:
${MKDIR} ${PREFIX}/lib/nfbtrans/tables
${INSTALL_PROGRAM} ${WRKSRC}/nfbtrans ${PREFIX}/bin
.for f in braille.tab back.tab english.dic nfbtrans.cnf
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/lib/nfbtrans
.endfor
@unzip -q -L -a -o ${WRKSRC}/tables.zip -d ${PREFIX}/lib/nfbtrans/tables
.if !defined(NOPORTDOCS)
@${ECHO} '~0 ~-pw=80 ~-ls=99 ~-pl=56 ~-if=12 ~-fc=. ~o5 ~p- ~-ip=0 ~-oc=1' \
| ${CAT} - ${WRKSRC}/nfbtrans.fmt > ${WRKSRC}/nfbprint.fmt
@${WRKSRC}/nfbtrans st=${WRKSRC}/stat.txt qm=1 ob=oc=15 \
${WRKSRC}/nfbprint.fmt > ${WRKSRC}/nfbtrans.doc
${MKDIR} ${PREFIX}/share/doc/nfbtrans
${INSTALL_DATA} ${WRKSRC}/nfbtrans.doc ${PREFIX}/share/doc/nfbtrans
${INSTALL_DATA} ${WRKSRC}/nfbtrans.fmt ${PREFIX}/share/doc/nfbtrans
.endif
.include <bsd.port.mk>