summaryrefslogtreecommitdiff
path: root/devel/libshhopt/Makefile
blob: b96922daa2994f3f694c049a6a2abfe4684c08b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:	libshhopt
# Version required:			1.1.5
# Date created:				11 April 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=		shhopt-1.1.5
PKGNAME=		libshhopt-1.1.5
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_SUNSITE} \
			http://home.sol.no/~sverrehu/pub-unix/files/
MASTER_SITE_SUBDIR=	libs

MAINTAINER=		andy@icc.surw.chel.su

USE_GMAKE=		yes

post-install:
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/libshhopt
	@ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/libshhopt
	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libshhopt
.endif
	@ ${MKDIR} ${PREFIX}/share/examples/libshhopt
	@ ${INSTALL_DATA} ${FILESDIR}/Makefile ${PREFIX}/share/examples/libshhopt
	@ ${INSTALL_DATA} ${WRKSRC}/example.c ${PREFIX}/share/examples/libshhopt

.include <bsd.port.mk>