1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/games/libshhcards/Makefile
1998-10-01 06:09:03 +00:00

37 lines
1006 B
Makefile

# New ports collection makefile for: libshhcards
# Version required: 1.0.3
# Date created: 12 April 1998
# Whom: Andrey Zakhvatov
#
# $Id: Makefile,v 1.3 1998/09/28 02:08:56 steve Exp $
#
DISTNAME= shhcards-1.0.3
PKGNAME= libshhcards-1.0.3
CATEGORIES= devel
MASTER_SITES= http://www.computas.no/users/shh/pub-unix/files/ \
http://www.freebsd.org/~mph/distfiles/
MAINTAINER= andy@icc.surw.chel.su
USE_GMAKE= yes
USE_X_PREFIX= yes
SOLIB= libshhcards.so
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/shhcards.h ${PREFIX}/include
@ ${INSTALL_DATA} ${WRKSRC}/${SOLIB}.${SOVERSION} ${PREFIX}/lib
@ ${LN} -sf ${SOLIB}.${SOVERSION} ${PREFIX}/lib/${SOLIB}
@ ${MKDIR} ${PREFIX}/share/doc/libshhcards
@ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/libshhcards
@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libshhcards
@ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
.if ${PORTOBJFORMAT} == "elf"
SOVERSION= 1
.else
SOVERSION= 1.1
.endif