1998-05-02 18:02:44 +00:00
|
|
|
# New ports collection makefile for: libshhcards
|
|
|
|
# Version required: 1.0.3
|
|
|
|
# Date created: 12 April 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1998-09-28 02:09:00 +00:00
|
|
|
# $Id: Makefile,v 1.2 1998/08/05 09:30:56 asami Exp $
|
1998-05-02 18:02:44 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
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
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-09-28 02:09:00 +00:00
|
|
|
SOLIB= libshhcards.so
|
1998-05-02 18:02:44 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/shhcards.h ${PREFIX}/include
|
1998-09-28 02:09:00 +00:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/${SOLIB}.${SOVERSION} ${PREFIX}/lib
|
|
|
|
@ ${LN} -sf ${SOLIB}.${SOVERSION} ${PREFIX}/lib/${SOLIB}
|
1998-05-02 18:02:44 +00:00
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/libshhcards
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/libshhcards
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libshhcards
|
1998-09-28 02:09:00 +00:00
|
|
|
@ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1998-05-02 18:02:44 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
1998-09-28 02:09:00 +00:00
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
SOVERSION= 1
|
|
|
|
.else
|
|
|
|
SOVERSION= 1.0
|
|
|
|
.endif
|