aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl12/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-09-28 07:21:21 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-09-28 07:21:21 +0000
commit60e94274b757cd17065b219292d7cc1642cf4393 (patch)
treef6539c4ace169ddb0df9311f5cd51a7c390a93a2 /devel/sdl12/Makefile
parentcacccf1f20677308dd81a998f06d6c38f6216c9e (diff)
downloadports-60e94274b757cd17065b219292d7cc1642cf4393.tar.gz
ports-60e94274b757cd17065b219292d7cc1642cf4393.zip
Notes
Diffstat (limited to 'devel/sdl12/Makefile')
-rw-r--r--devel/sdl12/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 359d6df3b4b7..4cee53d3ed48 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= sdl-devel
-PORTVERSION= 1.1.4
-PORTREVISION= 1
+PORTVERSION= 1.1.5
CATEGORIES= devel
MASTER_SITES= http://www.libsdl.org/release/ \
http://www.devolution.com/~slouken/SDL/release/
@@ -39,6 +38,10 @@ USE_MESA= yes
CONFIGURE_ARGS+= --enable-video-opengl
.endif
+.include <bsd.port.pre.mk>
+
+MAN3!= /bin/cat ${FILESDIR}/man3
+
post-configure:
@cd ${WRKSRC} && \
${CP} sdl-config sdl11-config && \
@@ -50,12 +53,12 @@ post-install:
@${MKDIR} ${PREFIX}/share/examples/SDL11
@${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/examples/SDL11
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/SDL11
+ @${MKDIR} ${PREFIX}/share/doc/SDL11/docs
.for file in BUGS COPYING CREDITS README WhatsNew docs.html
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/SDL11
.endfor
- @cd ${WRKSRC}/docs; tar cf - `${ECHO} [^M]*` | \
- (cd ${PREFIX}/share/doc/SDL11; ${TAR} --unlink -xf - )
+ @cd ${WRKSRC}/docs; tar cf - `${ECHO} [^Mm]*` | \
+ (cd ${PREFIX}/share/doc/SDL11/docs; ${TAR} --unlink -xf - )
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>