diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-13 13:28:36 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-13 13:28:36 +0000 |
commit | 63f061b66d7dc85b95837c82721bba779868728d (patch) | |
tree | e7288066687c2a665f73f9ffc11bb84a1de44b0d /audio/aylet/Makefile | |
parent | 1f984e07c67a24985782a2a57efe0fed02ea7d35 (diff) | |
download | ports-63f061b66d7dc85b95837c82721bba779868728d.tar.gz ports-63f061b66d7dc85b95837c82721bba779868728d.zip |
Notes
Diffstat (limited to 'audio/aylet/Makefile')
-rw-r--r-- | audio/aylet/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/audio/aylet/Makefile b/audio/aylet/Makefile new file mode 100644 index 000000000000..c06f417bf6d7 --- /dev/null +++ b/audio/aylet/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: aylet +# Date created: 9 Jul 2005 +# Whom: Emanuel Haupt <ehaupt@critical.ch> +# +# $FreeBSD$ +# + +PORTNAME= aylet +PORTVERSION= 0.3 +CATEGORIES= audio +MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/apps/sound/players/ +PKGNAMEPREFIX?= + +MAINTAINER= ehaupt@critical.ch +COMMENT= A command line player for the .ay audio file format + +USE_REINPLACE= yes +USE_GMAKE= yes +USE_GETOPT_LONG=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> |