mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
d16f7bfb92
PR. Thanks for contributing. Since the acroread7 port is a somewhat important port for our users, I will hand it over to emulation@ if no _active_ *committer* takes it before the ports freeze. While I'm here: - fix a little nit in the csound port (I think the intention was to create no backup file instead of creating one with a "-e" extension) - set ARCH to i386 in the amd64 case for the acroread7 port. This is a work-around to be able to install everything when a dependency is not already installed (ARCH is read-only in sub-makes, so the dependencies can't change it). This should be removed when the dependencies are fixed or converted to use bsd.linux-rpm.mk. [1] Not objected to by: portmgr (explicit: krion; silence: rest) Maintainer timeout: ~4 months Submitted by: Sangwoo Shim <sangwoos@gmail.com> [1] PR: 87985 [1]
65 lines
1.5 KiB
Makefile
65 lines
1.5 KiB
Makefile
# New ports collection makefile for: spiralloops
|
|
# Date created: 2000-12-06
|
|
# Whom: trevor
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= spiralloops
|
|
PORTVERSION= 2.0.0
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.pawfal.org/Software/SpiralLoops/dload/
|
|
DISTNAME= SpiralLoops-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Loop-based sampler
|
|
|
|
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
|
|
|
DOCDIR= share/doc/${PORTNAME}
|
|
DOC_FILES= CHANGES COPYING README
|
|
GNU_CONFIGURE= yes
|
|
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
USE_X_PREFIX= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 500113
|
|
BROKEN= "Does not compile (bad C++ code)"
|
|
.endif
|
|
|
|
post-patch:
|
|
${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.orig
|
|
${SED} -E "s:-ldl::g; \
|
|
s:^CFLAGS:XCFLAGS:g; \
|
|
s:^CXXFLAGS:XCXXFLAGS:g; \
|
|
s:usr/X11R6:${PREFIX}:g; \
|
|
s:-O3:${PTHREAD_CFLAGS}:g; \
|
|
s:CFLAGS =:CFLAGS +=:g; \
|
|
s:CXXFLAGS=:CXXFLAGS+=:g; \
|
|
s:-lm:${PTHREAD_LIBS} -lm:g; \
|
|
s:/usr/X11R6:${X11BASE}:g" \
|
|
< ${WRKSRC}/Makefile.in.orig > ${WRKSRC}/Makefile.in
|
|
|
|
pre-install:
|
|
${ECHO_CMD} bin/SpiralLoops > ${PLIST}
|
|
.if !defined(NOPORTDOCS)
|
|
.for i in ${DOC_FILES}
|
|
${ECHO_CMD} ${DOCDIR}/`${BASENAME} ${i}` >> ${PLIST}
|
|
.endfor
|
|
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/SpiralLoops ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in ${DOC_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
.include <bsd.port.post.mk>
|