blob: bc24b562fd9bb38ca72d413ca9efce742235b047 (
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
|
# New ports collection makefile for: aylet
# Date created: 9 Jul 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= aylet
PORTVERSION= 0.5
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/apps/sound/players/ \
CRITICAL
PKGNAMEPREFIX?=
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A command line player for the .ay audio file format
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
ALL_TARGET?= ${PORTNAME}
CFLAGS+= -DDRIVER_OSS -I${LOCALBASE}/include
.if ${PKGNAMEPREFIX} == ""
MAN1= aylet.1
PLIST_FILES= bin/aylet
.endif
aylet-post-patch:
.for flag in CC CFLAGS
@${REINPLACE_CMD} -e 's|^${flag}=|${flag}?=|' \
${WRKSRC}/Makefile
.endfor
@${REINPLACE_CMD} -e 's|\((CC)\)\ \-o|\1 $$\(CFLAGS) -o|' \
${WRKSRC}/Makefile
.if ${PKGNAMEPREFIX} == ""
post-patch: aylet-post-patch
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|