1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Convert to OptionsNG

Approved by:	 mike@mikekohn.net (maintainer)
This commit is contained in:
Eitan Adler 2013-03-25 14:00:34 +00:00
parent f19ef088e7
commit 430f6c0072
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315224

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: ringtonetools
# Date created: 7 June 2002
# Whom: Michael A. Kohn <mike@mikekohn.net>
#
# Created by: Michael A. Kohn <mike@mikekohn.net>
# $FreeBSD$
#
PORTNAME= ringtonetools
PORTVERSION= 2.25
@ -18,13 +14,16 @@ RESTRICTED= no-commercial-use
pre-build:
@${REINPLACE_CMD} -e 's|^FLAGS|FLAGS?|' ${WRKSRC}/src/Makefile
.include <bsd.port.options.mk>
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/ringtonetools ${PREFIX}/bin
.for i in face.txt hemglass.mid ionian.rtttl usa.emelody yngwie_trilogy.rtttl
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/samples/${i} ${DATADIR}
.endfor
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/docs/README ${DOCSDIR}
.endif