openbsd-ports/devel/sdlmm/Makefile
2010-11-15 19:45:56 +00:00

48 lines
980 B
Makefile

# $OpenBSD: Makefile,v 1.24 2010/11/15 19:46:09 espie Exp $
COMMENT= C++ wrapper for the Simple DirectMedia Layer
VERSION= 0.1.8
DISTNAME= SDLmm-${VERSION}
PKGNAME= sdlmm-${VERSION}
REVISION= 11
SHARED_LIBS += SDLmm 9.0 # .8.0
CATEGORIES= devel
HOMEPAGE= http://sdlmm.sourceforge.net/
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
# LGPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += SDL m sndio stdc++ usbhid
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sdlmm/}
MODULES= converters/libiconv
LIB_DEPENDS= devel/sdl
SEPARATE_BUILD= concurrent
USE_LIBTOOL= Yes
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
post-install:
@cd ${WRKSRC}/docs/html && \
rm -f Makefile* htmlfiles && \
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sdlmm && \
for A in *; do ${INSTALL_DATA} $$A ${PREFIX}/share/doc/sdlmm/; done
.include <bsd.port.mk>