mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
ffb21b5654
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS. Boo.) Line up the rhs of variable assignments nicely. Remove a couple of extra whitespaces while I'm here. Suggested by: sobomax
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection makefile for: libshhcards
|
|
# Date created: 12 April 1998
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libshhcards
|
|
PORTVERSION= 1.0.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
|
http://home.sol.no/~sverrehu/pub-unix/files/ \
|
|
http://people.FreeBSD.org/~mph/distfiles/
|
|
MASTER_SITE_SUBDIR= libs/ui
|
|
DISTNAME= shhcards-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
USE_GMAKE= yes
|
|
USE_X_PREFIX= yes
|
|
INSTALLS_SHLIB= yes
|
|
SOLIB= libshhcards.so
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
SOVERSION= 1
|
|
.else
|
|
SOVERSION= 1.1
|
|
.endif
|
|
|
|
do-install:
|
|
@ ${INSTALL_DATA} ${WRKSRC}/shhcards.h ${PREFIX}/include
|
|
@ ${INSTALL_DATA} ${WRKSRC}/${SOLIB}.${SOVERSION} ${PREFIX}/lib
|
|
@ ${LN} -sf ${SOLIB}.${SOVERSION} ${PREFIX}/lib/${SOLIB}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@ ${MKDIR} ${PREFIX}/share/doc/libshhcards
|
|
@ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/libshhcards
|
|
@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libshhcards
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|