|
Lines 6-13
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= cmus |
8 |
PORTNAME= cmus |
| 9 |
PORTVERSION= 2.0.0 |
9 |
PORTVERSION= 2.0.2 |
| 10 |
PORTREVISION= 1 |
|
|
| 11 |
CATEGORIES= audio |
10 |
CATEGORIES= audio |
| 12 |
MASTER_SITES= http://onion.dynserv.net/~timo/files/ \ |
11 |
MASTER_SITES= http://onion.dynserv.net/~timo/files/ \ |
| 13 |
http://mirror.greaterscope.net/cmus/ |
12 |
http://mirror.greaterscope.net/cmus/ |
|
Lines 97-109
Link Here
|
| 97 |
PREMSG+= Define WITH_ARTS=yes to enable arts output support.\n |
96 |
PREMSG+= Define WITH_ARTS=yes to enable arts output support.\n |
| 98 |
.endif |
97 |
.endif |
| 99 |
|
98 |
|
|
|
99 |
MAN1= cmus.1 cmus-remote.1 |
| 100 |
|
| 100 |
pre-everything:: |
101 |
pre-everything:: |
| 101 |
@${PRINTF} "${PREMSG}" |
102 |
@${PRINTF} "${PREMSG}" |
| 102 |
@${ECHO_CMD} |
103 |
@${ECHO_CMD} |
| 103 |
|
104 |
|
|
|
105 |
post-extract: |
| 106 |
@${REINPLACE_CMD} -e 's, -Wno-pointer-sign,,' ${WRKSRC}/configure |
| 107 |
@${REINPLACE_CMD} -e 's,$$(mandir)/man1,${PREFIX}/man/man1,' \ |
| 108 |
${WRKSRC}/Doc/Makefile |
| 109 |
|
| 104 |
post-patch: |
110 |
post-patch: |
| 105 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \ |
111 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \ |
| 106 |
"s|/bin/bash|${LOCALBASE}/bin/bash|; \ |
112 |
"s|/bin/bash|${LOCALBASE}/bin/bash|; \ |
| 107 |
s|-lncursesw|-lncurses|g" |
113 |
s|-lncursesw|-lncurses|g" |
|
|
114 |
|
| 115 |
post-install: |
| 116 |
.if !defined(NOPORTDOCS) |
| 117 |
${MKDIR} ${DOCSDIR}/examples |
| 118 |
${INSTALL} ${WRKSRC}/cmus-status-display ${DOCSDIR}/examples |
| 119 |
.endif |
| 108 |
|
120 |
|
| 109 |
.include <bsd.port.post.mk> |
121 |
.include <bsd.port.post.mk> |