blob: fa4afc87a395ea99703d4fab8bc85028b9b5b9d2 (
plain)
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
38
39
40
41
42
|
# New ports collection makefile for: konwert
# Date created: Apr 19 2003
# Whom: Alex Semenyaka <alex@rinet.ru>
#
# $FreeBSD$
#
PORTNAME= konwert
PORTVERSION= 1.8
PORTREVISION= 11
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/${DISTNAME:C/${DISTNAME:C/.//}//}/${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
PATCH_SITES= ${MASTER_SITES}
PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCHLEVEL= 11
PATCHFILES= ${PORTNAME}_${PORTVERSION}-${PATCHLEVEL}.diff.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Modular converter between charsets and filter
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PATCH_WRKSRC= ${WRKDIR}
REINPLACE_ARGS= -i ""
USE_PERL5= yes
USE_GMAKE= yes
MAN1= konwert.1 trs.1 filterm.1
MANLANG= "" pl
post-patch:
@${GREP} -Rl '#\!/bin/bash' ${WRKSRC}/* 2>/dev/null | ${XARGS} \
${REINPLACE_CMD} -e 's|^#\!/bin/bash|#\!${LOCALBASE}/bin/bash|'
@${FIND} ${WRKSRC} -name '*.orig' -delete
.include <bsd.port.mk>
|