bdc4f6e9a7
- Add run dependency on perl, scripts are written in it, bump PORTREVISION for dependency change - Remove patch that hardcoded shebang to /usr/bin/perl, use CONFIGURE_ENV to set correct shebang for all scripts - Don't create/remove links in pkg-plist - this is done during packaging just fine
32 lines
701 B
Makefile
32 lines
701 B
Makefile
# 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= perl5
|
|
USE_PERL5= run
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= ac_cv_path_path_perl=${PERL}
|
|
WRKSRC= ${WRKDIR}/crosspad/build
|
|
|
|
DOCS= 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:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/../|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|