aboutsummaryrefslogtreecommitdiff
path: root/games/qonk
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-04-24 21:09:30 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-04-24 21:09:30 +0000
commit69f8dd6e634f7b6fd1a19803668d7f62220d7fb3 (patch)
tree8a6befa10afa8ebdf3766f28f55503fdb00d672b /games/qonk
parentf68f19ff3a20c7451cd7e3647169317d2e8677cb (diff)
downloadports-69f8dd6e634f7b6fd1a19803668d7f62220d7fb3.tar.gz
ports-69f8dd6e634f7b6fd1a19803668d7f62220d7fb3.zip
Notes
Diffstat (limited to 'games/qonk')
-rw-r--r--games/qonk/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/games/qonk/Makefile b/games/qonk/Makefile
index 9d861eddd175..43fe60a2c417 100644
--- a/games/qonk/Makefile
+++ b/games/qonk/Makefile
@@ -21,27 +21,27 @@ OPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on
.include <bsd.port.pre.mk>
post-patch:
-# Fix Makefile
+# Fix Makefile.
@${REINPLACE_CMD} -e 's|g++|${CXX}| ; \
- s|sdl-config|${SDL_CONFIG}| ; \
- s|\(-O3\)|${CFLAGS} \1|' \
- ${WRKSRC}/${MAKEFILE}
+ s|sdl-config|${SDL_CONFIG}| ; \
+ s|\(-O3\)|${CFLAGS} \1|' \
+ ${WRKSRC}/${MAKEFILE}
-# Fix paths to ${DATADIR}
+# Fix paths to ${DATADIR}.
@${REINPLACE_CMD} -e 's|\(font\.ttf\)|${DATADIR}/\1|' \
- ${WRKSRC}/main.cpp ${WRKSRC}/messages.cpp
+ ${WRKSRC}/main.cpp ${WRKSRC}/messages.cpp
-# Enable/disable compilation optimizations
+# Enable/disable compilation optimizations.
.if defined(WITHOUT_OPTIMIZED_CFLAGS)
@${REINPLACE_CMD} -e 's|-O3||' \
- ${WRKSRC}/${MAKEFILE}
+ ${WRKSRC}/${MAKEFILE}
.endif
do-install:
-# Program
+# Program.
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-# Data
+# Data.
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/font.ttf ${DATADIR}