aboutsummaryrefslogtreecommitdiffstats
path: root/misc/crosspad/Makefile
blob: 2d7b6236fc7cc99522f99a661e12618a6fb4e5c7 (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
# Created by: itojun@itojun.org
# $FreeBSD$

PORTNAME=   crosspad
PORTVERSION=    19991202
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   ftp://ftp.itojun.org/pub/misc/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Crosspad data downloader/converter

USES=       ncurses perl5
USE_PERL5=  run
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  ac_cv_path_path_perl=${PERL}
WRKSRC=     ${WRKDIR}/crosspad/build

PORTDOCS=   PROTOCOL README.english README.japanese

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -E -e 's,(bin|man)dir),DESTDIR)$$(&,g' \
        -e 's,-(g|o) (bin|uucp),,g' \
        ${WRKSRC}/Makefile.in

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/../|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>