mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
409a9aff40
- Strip libraries
40 lines
945 B
Makefile
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>
|