blob: 99a7b42366680cdbfe3761fefb262ebba1dd96af (
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
38
39
40
|
PORTNAME= ytnef
PORTVERSION= 1.9.3
DISTVERSIONPREFIX= v
PORTEPOCH= 1
CATEGORIES= converters mail
MAINTAINER= ports@FreeBSD.org
COMMENT= Unpack data in MS Outlook TNEF format
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= p5-MIME-Tools>=0:mail/p5-MIME-Tools
USES= autoreconf cpe libtool pathfix perl5 shebangfix
USE_GITHUB= yes
GH_ACCOUNT= Yeraze
CPE_VENDOR= ytnef_project
USE_PERL5= run
SHEBANG_FILES= ytnef/ytnefprocess
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
${WRKSRC}/ytnef/ytnefprocess
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|