1998-05-02 18:02:44 +00:00
|
|
|
# New ports collection makefile for: libshhcards
|
|
|
|
# Date created: 12 April 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1998-05-02 18:02:44 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= libshhcards
|
|
|
|
PORTVERSION= 1.0.4
|
1999-05-01 02:22:54 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
|
|
|
http://home.sol.no/~sverrehu/pub-unix/files/ \
|
2000-02-08 09:29:51 +00:00
|
|
|
http://people.FreeBSD.org/~mph/distfiles/
|
1999-05-01 02:22:54 +00:00
|
|
|
MASTER_SITE_SUBDIR= libs/ui
|
2000-04-14 12:28:40 +00:00
|
|
|
DISTNAME= shhcards-${PORTVERSION}
|
1998-05-02 18:02:44 +00:00
|
|
|
|
2000-03-29 07:19:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-05-02 18:02:44 +00:00
|
|
|
|
1999-05-01 02:22:54 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1998-11-28 09:06:16 +00:00
|
|
|
|
1999-05-01 02:22:54 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
2000-06-16 08:48:22 +00:00
|
|
|
INSTALLS_SHLIBS= yes
|
1999-05-01 02:22:54 +00:00
|
|
|
SOLIB= libshhcards.so
|
1998-05-02 18:02:44 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
SOVERSION= 1
|
|
|
|
.else
|
|
|
|
SOVERSION= 1.1
|
|
|
|
.endif
|
|
|
|
|
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}
|
1999-05-01 02:22:54 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
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
|
1999-05-01 02:22:54 +00:00
|
|
|
.endif
|
1998-05-02 18:02:44 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|