ports/170749: [MAINTAINER] graphics/founts: Makefile changed, OptionsNG
nemysis
nemysis at gmx.ch
Sat Aug 18 16:30:09 UTC 2012
>Number: 170749
>Category: ports
>Synopsis: [MAINTAINER] graphics/founts: Makefile changed, OptionsNG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 18 16:30:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
Makefile changed:
Changed all to ${PORTNAME}
OptionsNG
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- founts-12_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/founts/Makefile ./Makefile
--- /usr/ports/graphics/founts/Makefile 2012-05-06 16:30:38.000000000 +0200
+++ ./Makefile 2012-08-18 18:21:50.000000000 +0200
@@ -7,6 +7,7 @@
PORTNAME= founts
PORTVERSION= 12
+PORTREVISION= 1
CATEGORIES= graphics games
MASTER_SITES= http://www.linuxmotors.com/founts/downloads/
EXTRACT_SUFX= .tgz
@@ -18,10 +19,12 @@
USE_SDL= sdl
-PLIST_FILES= bin/founts
+PLIST_FILES= bin/${PORTNAME}
PORTDOCS= Changelog README
+.include <bsd.port.options.mk>
+
do-build:
cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \
-lm `${SDL_CONFIG} --cflags --libs` founts.c
@@ -29,8 +32,9 @@
do-install:
# Executable
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
# Documentation
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
--- founts-12_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list