1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/libdungeonmaker/Makefile
Adam Weinberger b0c45bdec1 include stdlib.h for rand(3) to fix build. While here, remove the profiled lib
from the plist. Its creation is changes with NO_PROFILE in src.conf, and it's
pretty unnecessary, so I'm removing it from the plist altogether for simplicity.
2014-07-24 16:08:39 +00:00

33 lines
981 B
Makefile

# Created by: aaron@FreeBSD.org
# $FreeBSD$
PORTNAME= libdungeonmaker
PORTVERSION= 2.05
CATEGORIES= games devel
MASTER_SITES= SF/dungeonmaker/dungeonmaker/${PORTVERSION}
DISTNAME= dungeonmaker-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Program/library that "grows" dungeons for use in isometric games
USE_LDCONFIG= yes
SUB_FILES= pkg-message
MAKEFILE= Makefile.bsd
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_LIB} ${WRKSRC}/libdungeonmaker.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/libdungeonmaker.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/libdungeonmaker.so.2 ${STAGEDIR}${PREFIX}/lib
${INSTALL} ${WRKSRC}/DungeonMaker.h ${STAGEDIR}${PREFIX}/include
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/DM2_Manual/* ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/design* ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/main.cpp ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>