2000-09-16 21:02:06 +02:00
|
|
|
# New ports collection makefile for: spiralsynth
|
|
|
|
# Date created: 2000-09-05
|
|
|
|
# Whom: Trevor Johnson <trevor@jpj.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= spiralsynth
|
2000-12-06 23:53:38 +01:00
|
|
|
PORTVERSION= 0.1.7
|
2000-09-16 21:02:06 +02:00
|
|
|
CATEGORIES= audio
|
2000-12-06 23:53:38 +01:00
|
|
|
MASTER_SITES= http://www.pawfal.org/SpiralSynth/dload/
|
2000-09-16 21:02:06 +02:00
|
|
|
DISTNAME= SpiralSynth-${PORTVERSION}
|
|
|
|
|
2000-10-02 07:39:35 +02:00
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
2000-09-16 21:02:06 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2001-08-29 03:44:46 +02:00
|
|
|
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
|
|
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
2000-09-16 21:02:06 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
|
|
|
|
DOC_FILES= CHANGES COPYING README
|
|
|
|
|
2001-08-29 03:44:46 +02:00
|
|
|
post-patch:
|
|
|
|
${PERL} -pi -e '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
|
|
|
|
|
2000-09-16 21:02:06 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/spiralsynth
|
|
|
|
.for i in ${DOC_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/spiralsynth
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|