svn commit: r357585 - in head/misc/crosspad: . files
Pawel Pekala
pawel at FreeBSD.org
Thu Jun 12 11:23:24 UTC 2014
Author: pawel
Date: Thu Jun 12 11:23:23 2014
New Revision: 357585
URL: http://svnweb.freebsd.org/changeset/ports/357585
QAT: https://qat.redports.org/buildarchive/r357585/
Log:
- Add staging support, allow it as normal user
- 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
Deleted:
head/misc/crosspad/files/patch-aa
Modified:
head/misc/crosspad/Makefile
head/misc/crosspad/pkg-plist
Modified: head/misc/crosspad/Makefile
==============================================================================
--- head/misc/crosspad/Makefile Thu Jun 12 11:02:50 2014 (r357584)
+++ head/misc/crosspad/Makefile Thu Jun 12 11:23:23 2014 (r357585)
@@ -3,32 +3,30 @@
PORTNAME= crosspad
PORTVERSION= 19991202
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.itojun.org/pub/misc/
MAINTAINER= ports at 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
-MAN1= crosspad2ps.1 crosspad2eps.1 crosspad2tgif.1 crosspad2idraw.1 \
- padload.1
-
DOCS= PROTOCOL README.english README.japanese
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
+post-patch:
+ @${REINPLACE_CMD} -E -e 's,(bin|man)dir),DESTDIR)$$(&,g' \
+ -e 's,-(g|o) (bin|uucp),,g' \
+ ${WRKSRC}/Makefile.in
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${PREFIX}/share/doc/crosspad
- for i in $(DOCS); do \
- ${INSTALL_DATA} ${WRKSRC}/../$$i ${PREFIX}/share/doc/crosspad; \
- done
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/../|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/misc/crosspad/pkg-plist
==============================================================================
--- head/misc/crosspad/pkg-plist Thu Jun 12 11:02:50 2014 (r357584)
+++ head/misc/crosspad/pkg-plist Thu Jun 12 11:23:23 2014 (r357585)
@@ -1,12 +1,16 @@
-bin/padload
+bin/crosspad2eps
+bin/crosspad2idraw
bin/crosspad2ps
- at exec cd %D/bin; ln -s crosspad2ps crosspad2eps
- at exec cd %D/bin; ln -s crosspad2ps crosspad2tgif
- at exec cd %D/bin; ln -s crosspad2ps crosspad2idraw
- at unexec rm %D/bin/crosspad2eps 2>&1 >/dev/null || true
- at unexec rm %D/bin/crosspad2tgif 2>&1 >/dev/null || true
- at unexec rm %D/bin/crosspad2idraw 2>&1 >/dev/null || true
-%%PORTDOCS%%share/doc/crosspad/PROTOCOL
-%%PORTDOCS%%share/doc/crosspad/README.english
-%%PORTDOCS%%share/doc/crosspad/README.japanese
-%%PORTDOCS%%@dirrm share/doc/crosspad
+bin/crosspad2tgif
+ at owner uucp
+bin/padload
+ at owner
+man/man1/crosspad2eps.1.gz
+man/man1/crosspad2idraw.1.gz
+man/man1/crosspad2ps.1.gz
+man/man1/crosspad2tgif.1.gz
+man/man1/padload.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/PROTOCOL
+%%PORTDOCS%%%%DOCSDIR%%/README.english
+%%PORTDOCS%%%%DOCSDIR%%/README.japanese
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
More information about the svn-ports-all
mailing list