blob: abda9cc3ac7f4347d0549e982f1aa192cf614a4f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: mpc
# Date created: Oct 02 2003
# Whom: Mark Reidel <ports@mark.reidle.info>
#
# $FreeBSD$
#
PORTNAME= mpc
PORTVERSION= 0.11.2
CATEGORIES= audio ipv6
MASTER_SITES= http://mercury.chem.pitt.edu/~shank/
MAINTAINER= ports@mark.reidel.info
COMMENT= Command line client for the musicpd
GNU_CONFIGURE= yes
OPTIONS= ICONV "Support for international characters" on \
CFLAGS+= -I${PREFIX}/include
MAN1= mpc.1
.include <bsd.port.pre.mk>
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
.ifdef(WITHOUT_ICONV)
CONFIGURE_ARGS+=--disable-iconv
.else
USE_ICONV= yes
.endif
PLIST_FILES=bin/mpc
PLIST_DIRS=%%EXAMPLESDIR%%
PLIST_FILES+=%%EXAMPLESDIR%%/mpc-bashrc
.ifndef(NOPORTDOCS)
PLIST_DIRS+=%%DOCSDIR%%
PLIST_FILES+=%%DOCSDIR%%/AUTHORS
PLIST_FILES+=%%DOCSDIR%%/README
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${PREFIX}/bin/
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/mpc-bashrc ${EXAMPLESDIR}
${INSTALL_MAN} ${WRKSRC}/doc/mpc.1 ${MAN1PREFIX}/man/man1/
.include <bsd.port.post.mk>
|