diff options
author | jhale <jhale@FreeBSD.org> | 2012-10-21 00:28:14 +0800 |
---|---|---|
committer | jhale <jhale@FreeBSD.org> | 2012-10-21 00:28:14 +0800 |
commit | b705abd7e9eb2dcb658fbad78ac344478394b3d8 (patch) | |
tree | 30dbebbdea4865224301f7eae7b0be2602d8b86f /audio | |
parent | ed5ced370bcd4b5842efdcf3077a29478dfe2563 (diff) | |
download | freebsd-ports-gnome-b705abd7e9eb2dcb658fbad78ac344478394b3d8.tar.gz freebsd-ports-gnome-b705abd7e9eb2dcb658fbad78ac344478394b3d8.tar.zst freebsd-ports-gnome-b705abd7e9eb2dcb658fbad78ac344478394b3d8.zip |
- Convert to new options framework
- Remove indefinite article from COMMENT
- Add LICENSE (GPLv2)
- Trim Makefile header
Approved by: makc, avilla (mentors, implicit)
Feature safe: yes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xmmsctrl/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/audio/xmmsctrl/Makefile b/audio/xmmsctrl/Makefile index ccb5efb988df..abf71daf9647 100644 --- a/audio/xmmsctrl/Makefile +++ b/audio/xmmsctrl/Makefile @@ -1,9 +1,4 @@ -# New ports collection makefile for: xmmsctrl -# Date created: 22 September 2005 -# Whom: Jason E. Hale <jhale@bluebottle.com> -# # $FreeBSD$ -# PORTNAME= xmmsctrl PORTVERSION= 1.8 @@ -15,7 +10,9 @@ MASTER_SITES= http://user.it.uu.se/~adavid/utils/ \ http://www.sourcefiles.org/Multimedia/MP3/Tools/Miscellaneous/ MAINTAINER= jhale@FreeBSD.org -COMMENT= A small utility to control XMMS from the command line +COMMENT= Small utility to control XMMS from the command line + +LICENSE= GPLv2 BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms @@ -26,10 +23,12 @@ MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PORTDOCS= Changelog README +.include <bsd.port.options.mk> + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xmmsctrl ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif ${MKDIR} ${EXAMPLESDIR} |