freebsd-ports/devel/p5-SVN-Access/Makefile
John Marino a4a8a9377b devel/p5-SVN-Access: Don't strip scripts
The strip program from new binutils will complain if one tries to strip
executables non-binaries.  The INSTALL_PROGRAM macro tries to strip; for
a perl script the INSTALL_SCRIPT macro is the correct one to use.

Swapping the macros fixes this error:
  /usr/libexec/binutils224/elf/strip:
    /wrkdirs/devel/p5-SVN-Access/work/stage/usr/local/share/examples/
    SVN-Access/svnaclmgr.pl: File format not recognized

Approved by:	just-fix-it blanket
2014-05-26 18:11:19 +00:00

32 lines
697 B
Makefile

# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$
PORTNAME= SVN-Access
PORTVERSION= 0.09
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= 5u623l20@gmail.com
COMMENT= Perl extension to manipulate SVN Access files
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Tie-IxHash>=1.21:${PORTSDIR}/devel/p5-Tie-IxHash \
p5-subversion>=0:${PORTSDIR}/devel/p5-subversion
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= svnaclmgr.pl
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${PORTEXAMPLES} \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>