1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/biology/p5-AcePerl/Makefile
Dmitry Marakasov 409a9aff40 - Simplify MASTER_SITES
- Strip libraries
2015-03-17 03:09:25 +00:00

40 lines
945 B
Makefile

# Created by: Johann Visagie <johann@egenetics.com>
# $FreeBSD$
PORTNAME= AcePerl
PORTVERSION= 1.92
PORTREVISION= 4
CATEGORIES= biology databases perl5
MASTER_SITES= CPAN/Ace
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl5 interface to the ACEDB genome database system
RUN_DEPENDS= p5-Cache-Cache>=0:${PORTSDIR}/devel/p5-Cache-Cache
BUILD_DEPENDS:= ${RUN_DEPENDS}
MAKE_JOBS_UNSAFE= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
.endif
post-patch:
@ ${SED} -e 's|XX__CC__XX|${CC}|' < ${FILESDIR}/FREEBSD_DEF \
> ${WRKSRC}/acelib/wmake/FREEBSD_DEF
post-install:
.for f in Freesubs/Freesubs.so RPC/RPC.so
${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Ace/${f}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Ace/${f}
${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Ace/${f}
.endfor
.include <bsd.port.post.mk>