Lines 7-75
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= cplay |
8 |
PORTNAME= cplay |
9 |
PORTVERSION= 1.45 |
9 |
PORTVERSION= 1.45 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= audio |
11 |
CATEGORIES= audio |
11 |
MASTER_SITES= http://www.tf.hut.fi/~flu/cplay/ |
12 |
MASTER_SITES= http://www.tf.hut.fi/~flu/cplay/ |
12 |
|
13 |
|
13 |
MAINTAINER= j.kossen@home.nl |
14 |
MAINTAINER= j.kossen@home.nl |
14 |
|
15 |
|
15 |
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 |
|
|
16 |
|
17 |
USE_GMAKE= yes |
16 |
USE_GMAKE= yes |
18 |
USE_PYTHON= yes |
17 |
USE_PYTHON= yes |
19 |
MAN1= cplay.1 |
18 |
MAN1= cplay.1 |
20 |
|
19 |
|
21 |
MAKE_ARGS+= PREFIX="${PREFIX}" |
20 |
MAKE_ARGS+= PREFIX="${PREFIX}" |
22 |
|
21 |
|
23 |
.if defined(WITH_VORBIS) |
|
|
24 |
RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools |
25 |
.endif |
26 |
|
27 |
.if defined(WITH_MADPLAY) |
28 |
RUN_DEPENDS+= madplay:${PORTSDIR}/audio/mad |
29 |
.endif |
30 |
|
31 |
.if defined(WITH_MIKMOD) |
32 |
RUN_DEPENDS+= mikmod:${PORTSDIR}/audio/mikmod |
33 |
.endif |
34 |
|
35 |
.if defined(WITH_MPG321) |
36 |
RUN_DEPENDS+= mpg321:$(PORTSDIR)/audio/mpg321 |
37 |
.endif |
38 |
|
39 |
.if defined(WITH_SPLAY) |
40 |
RUN_DEPENDS+= splay:${PORTSDIR}/audio/splay |
41 |
.endif |
42 |
|
43 |
pre-everything: |
44 |
.if !defined(WITH_VORBIS) || !defined(WITH_MADPLAY) || !defined(WITH_MIKMOD) || defined(WITH_MPG321) || !defined(WITH_SPLAY) |
45 |
@${ECHO_MSG} |
46 |
.if !defined(WITH_VORBIS) |
47 |
@${ECHO_MSG} "If you want to have OGG VORBIS support," |
48 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_VORBIS=yes\"" |
49 |
@${ECHO_MSG} |
50 |
.endif |
51 |
.if !defined(WITH_MADPLAY) |
52 |
@${ECHO_MSG} "If you want to have MADPLAY support," |
53 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MADPLAY=yes\"" |
54 |
@${ECHO_MSG} |
55 |
.endif |
56 |
.if !defined(WITH_MIKMOD) |
57 |
@${ECHO_MSG} "If you want to have MIKMOD support," |
58 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MIKMOD=yes\"" |
59 |
@${ECHO_MSG} |
60 |
.endif |
61 |
.if !defined(WITH_MPG321) |
62 |
@${ECHO_MSG} "If you want to have MPG321 support," |
63 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MPG321=yes\"" |
64 |
@${ECHO_MSG} |
65 |
.endif |
66 |
.if !defined(WITH_SPLAY) |
67 |
@${ECHO_MSG} "If you want to have SPLAY support," |
68 |
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SPLAY=yes\"" |
69 |
@${ECHO_MSG} |
70 |
.endif |
71 |
.endif |
72 |
|
73 |
post-install: |
22 |
post-install: |
74 |
.if !defined(NOPORTDOCS) |
23 |
.if !defined(NOPORTDOCS) |
75 |
${MKDIR} ${PREFIX}/share/doc/cplay |
24 |
${MKDIR} ${PREFIX}/share/doc/cplay |
Lines 77-81
Link Here
|
77 |
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/cplay |
26 |
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/cplay |
78 |
${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/cplay |
27 |
${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/cplay |
79 |
.endif |
28 |
.endif |
|
|
29 |
@${CAT} ${PKGMESSAGE} |
80 |
|
30 |
|
81 |
.include <bsd.port.mk> |
31 |
.include <bsd.port.mk> |