aboutsummaryrefslogtreecommitdiffstats
path: root/converters/uudx/Makefile
blob: 2d7af3036f8375010ce864135e6a60cb3d4b103b (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
# New ports collection makefile for:    uudx
# Date created:     2 June 1996
# Whom:         ABURAYER Rewsirow <pcs51674@asciinet.or.jp>
#
# $FreeBSD$
#

PORTNAME=   uudx
PORTVERSION=    2.99
CATEGORIES= converters
MASTER_SITES=   http://ftp.vector.co.jp/pack/dos/util/bin/conv/
DISTNAME=   ${PORTNAME}_${PORTVERSION:S/.//}
EXTRACT_SUFX=   .lzh

MAINTAINER= ports@FreeBSD.org
COMMENT=    Extractor from uuencoded files

EXTRACT_DEPENDS=lha:${PORTSDIR}/archivers/lha
BUILD_DEPENDS=  nkf:${PORTSDIR}/japanese/nkf

EXTRACT_CMD=    lha
EXTRACT_BEFORE_ARGS=    xfqw=${WRKDIR}
EXTRACT_AFTER_ARGS= # empty

NO_WRKSUBDIR=   yes
MANLANG=    ja
MAN1=       uudx.1
PLIST_FILES=    bin/uudx

pre-patch:
    @${ECHO_MSG} "===>  Installing custom Makefile for ${DISTNAME}"
    @(${CP} ${FILESDIR}/Makefile ${WRKSRC})

post-patch:
    @${REINPLACE_CMD} -e '/sprintf()/d' ${WRKSRC}/uudx.c

.include <bsd.port.mk>