Lines 5-19
Link Here
|
5 |
# $FreeBSD: ports/audio/squash/Makefile,v 1.6 2004/02/04 05:18:39 marcus Exp $ |
5 |
# $FreeBSD: ports/audio/squash/Makefile,v 1.6 2004/02/04 05:18:39 marcus Exp $ |
6 |
|
6 |
|
7 |
PORTNAME= squash |
7 |
PORTNAME= squash |
8 |
PORTVERSION= 1.0.p1 |
8 |
PORTVERSION= 1.0 |
9 |
PORTREVISION= 4 |
|
|
10 |
CATEGORIES= audio |
9 |
CATEGORIES= audio |
11 |
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \ |
10 |
MASTER_SITES= ${MASTER_SITE_SAVANNAH} |
12 |
${MASTER_SITE_LOCAL:S/$/:local/} |
11 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} \ |
|
|
14 |
pav/:local |
15 |
DISTNAME= squash-1.0pre1 |
16 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT,local |
17 |
|
12 |
|
18 |
MAINTAINER= matthias.andree@gmx.de |
13 |
MAINTAINER= matthias.andree@gmx.de |
19 |
COMMENT= Learning console-based MP3/OGG player |
14 |
COMMENT= Learning console-based MP3/OGG player |
Lines 26-48
Link Here
|
26 |
ao.3:${PORTSDIR}/audio/libao |
21 |
ao.3:${PORTSDIR}/audio/libao |
27 |
RUN_DEPENDS= id3v2:${PORTSDIR}/audio/id3v2 |
22 |
RUN_DEPENDS= id3v2:${PORTSDIR}/audio/id3v2 |
28 |
|
23 |
|
29 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
|
|
30 |
USE_BZIP2= yes |
24 |
USE_BZIP2= yes |
31 |
USE_GMAKE= yes |
25 |
USE_GMAKE= yes |
32 |
USE_REINPLACE= yes |
26 |
USE_REINPLACE= yes |
33 |
USE_RUBY= yes |
27 |
USE_RUBY= yes |
|
|
28 |
.if !defined(NOPORTDOCS) |
29 |
PORTDOCS= * |
30 |
.endif |
34 |
|
31 |
|
35 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.pre.mk> |
36 |
|
33 |
|
37 |
post-patch: |
34 |
post-patch: |
38 |
@${REINPLACE_CMD} -e "s|--std=gnu99|${CFLAGS} ${PTHREAD_CFLAGS}|; \ |
35 |
@${REINPLACE_CMD} -e "s|--std=gnu99|--std=gnu99 ${CFLAGS} ${PTHREAD_CFLAGS}|; \ |
39 |
s|-Iinclude|-Iinclude -I${LOCALBASE}/include|; \ |
36 |
s|-Iinclude|-Iinclude -I${LOCALBASE}/include|; \ |
40 |
s|-lpthread|${PTHREAD_LIBS}|; s|-ldl|-L${LOCALBASE}/lib|" ${WRKSRC}/Makefile |
37 |
s|-lpthread|${PTHREAD_LIBS}|; s|-ldl|-L${LOCALBASE}/lib|" ${WRKSRC}/Makefile |
41 |
@${REINPLACE_CMD} -e "s,/usr/bin/ruby,${RUBY}," \ |
38 |
@${REINPLACE_CMD} -e "s,/usr/bin/ruby,${RUBY}," \ |
42 |
${WRKSRC}/extra/*.rb |
39 |
${WRKSRC}/extra/*.rb |
43 |
@${REINPLACE_CMD} -e "s,/etc/squash.conf,${PREFIX}/etc/squash.conf," \ |
40 |
@${REINPLACE_CMD} -e "s,/etc/squash.conf,${PREFIX}/etc/squash.conf," \ |
44 |
${WRKSRC}/src/global.c |
41 |
${WRKSRC}/src/global.c |
45 |
@${SED} "s,%%DD%%,${DOCSDIR}," ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} |
|
|
46 |
|
42 |
|
47 |
do-install: |
43 |
do-install: |
48 |
${MKDIR} ${PREFIX}/bin |
44 |
${MKDIR} ${PREFIX}/bin |
Lines 51-66
Link Here
|
51 |
${INSTALL_SCRIPT} ${WRKSRC}/extra/${FILE}.rb ${PREFIX}/bin |
47 |
${INSTALL_SCRIPT} ${WRKSRC}/extra/${FILE}.rb ${PREFIX}/bin |
52 |
.endfor |
48 |
.endfor |
53 |
${INSTALL_DATA} ${WRKSRC}/extra/musicdb_lib.rb ${RUBY_SITELIBDIR} |
49 |
${INSTALL_DATA} ${WRKSRC}/extra/musicdb_lib.rb ${RUBY_SITELIBDIR} |
54 |
${INSTALL_DATA} ${WRKSRC}/extra/squash.conf ${PREFIX}/etc |
50 |
${INSTALL_DATA} ${WRKSRC}/extra/squash.conf ${PREFIX}/etc/squash.conf.dist |
55 |
.if !defined(NOPORTDOCS) |
51 |
.if !defined(NOPORTDOCS) |
56 |
${MKDIR} ${DOCSDIR} |
52 |
${MKDIR} ${DOCSDIR} |
57 |
.for i in README doc/FEATURES doc/LOCKS doc/INSTALL doc/USERS_GUIDE |
53 |
.for i in README doc/FEATURES doc/LOCKS doc/INSTALL doc/USERS_GUIDE |
58 |
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
54 |
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
59 |
.endfor |
55 |
.endfor |
60 |
.endif |
56 |
.endif |
61 |
|
|
|
62 |
post-install: |
63 |
@${CAT} ${PKGMESSAGE} |
64 |
|
57 |
|
65 |
.if ${OSVERSION} < 501100 |
58 |
.if ${OSVERSION} < 501100 |
66 |
|
59 |
|