Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= mod_musicindex |
8 |
PORTNAME= mod_musicindex |
9 |
PORTVERSION= 0.8.9 |
9 |
PORTVERSION= 0.9.0 |
10 |
CATEGORIES= www audio |
10 |
CATEGORIES= www audio |
11 |
MASTER_SITES= http://www.esiee.fr/~puffin/musicindex/ |
11 |
MASTER_SITES= http://www.esiee.fr/~puffin/musicindex/ |
12 |
DISTNAME= libapache-mod-musicindex_${PORTVERSION} |
12 |
DISTNAME= libapache-mod-musicindex_${PORTVERSION} |
Lines 22-39
Link Here
|
22 |
mad.1:${PORTSDIR}/audio/mad |
22 |
mad.1:${PORTSDIR}/audio/mad |
23 |
|
23 |
|
24 |
APXS?= ${LOCALBASE}/sbin/apxs |
24 |
APXS?= ${LOCALBASE}/sbin/apxs |
25 |
APACHE_PORT?= ${PORTSDIR}/www/apache13 |
|
|
26 |
USE_GMAKE= yes |
25 |
USE_GMAKE= yes |
27 |
WRKSRC= ${WRKDIR}/libapache-mod-musicindex-${PORTVERSION} |
26 |
WRKSRC= ${WRKDIR}/libapache-mod-musicindex-${PORTVERSION} |
|
|
27 |
MAKE_ENV+= APXS=${APXS} BUILDDIR=${WRKSRC} |
28 |
|
28 |
|
29 |
DOCS_HTMLIMAGES= directory.png musicindex.css fetch.png \ |
29 |
PORTDOCS= directory.png musicindex.css fetch.png \ |
30 |
right_arrow.gif general.png sound.png |
30 |
right_arrow.gif general.png sound.png |
31 |
|
31 |
|
|
|
32 |
.if defined (WITH_APACHE2) |
33 |
MODULE_EXT= la |
34 |
MAKEFILE= Makefile.apache2 |
35 |
PLIST_SUB+= MOD_DIR=libexec/apache2 |
36 |
APACHE_PORT?= ${PORTSDIR}/www/apache2 |
37 |
MAKE_TARGET= all |
38 |
.else |
39 |
MODULE_EXT= so |
40 |
PLIST_SUB+= MOD_DIR=libexec/apache |
41 |
APACHE_PORT?= ${PORTSDIR}/www/apache13 |
42 |
.endif |
43 |
|
44 |
post-patch: |
45 |
@${CP} ${WRKSRC}/modules.mk.apache2 ${WRKSRC}/modules.mk |
46 |
@${TOUCH} ${WRKSRC}/.deps |
47 |
|
32 |
do-install: |
48 |
do-install: |
33 |
${APXS} -i -A -n musicindex ${WRKSRC}/mod_musicindex.so |
49 |
${APXS} -i -n musicindex -A ${WRKSRC}/mod_musicindex.${MODULE_EXT} |
34 |
.if !defined(NOPORTDOCS) |
50 |
.if !defined(NOPORTDOCS) |
35 |
@${MKDIR} ${DOCSDIR} |
51 |
@${MKDIR} ${DOCSDIR} |
36 |
.for f in ${DOCS_HTMLIMAGES} |
52 |
.for f in ${PORTDOCS} |
37 |
${INSTALL_DATA} ${WRKSRC}/musicindex/${f} ${DOCSDIR} |
53 |
${INSTALL_DATA} ${WRKSRC}/musicindex/${f} ${DOCSDIR} |
38 |
.endfor |
54 |
.endfor |
39 |
.endif |
55 |
.endif |