blob: b1b33031237aca56396cedd3a50f9691e16b4a4c (
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
|
# New ports collection makefile for: antiword
# Date created: 8 June 2000
# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= antiword
PORTVERSION= 0.33
CATEGORIES= textproc
MASTER_SITES= http://www.winfield.demon.nl/linux/
MAINTAINER= leeym@FreeBSD.org
USE_REINPLACE= yes
INSTALL_TARGET= global_install
MAN1= antiword.1
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \
-e 's,/usr/share,${PREFIX}/share,g' \
${WRKSRC}/Makefile.* ${WRKSRC}/*.[ch]
post-install:
@${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/Docs/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
|