aboutsummaryrefslogtreecommitdiffstats
path: root/converters/uudx/Makefile
blob: 97fde67a1a5bc2cf2590287c3303ffff0141e1fa (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
# Created by: 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/.//}

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

BUILD_DEPENDS=  nkf:${PORTSDIR}/japanese/nkf

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

NO_STAGE=   yes
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>