openbsd-ports/devel/libdsk/Makefile
bernd cff4d80c0d - Use new SHARED_LIBS framework
- USE_LIBTOOL and bump PKGNAME where appropriate
2006-01-02 18:15:52 +00:00

42 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2006/01/02 18:15:53 bernd Exp $
COMMENT= "library for accessing disks and disk image files"
DISTNAME= libdsk-1.0.0
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= dsk 2.2
MODGNU_SHARED_LIBS= dsk ''
CATEGORIES= devel
HOMEPAGE= http://www.seasip.demon.co.uk/Unix/LibDsk/
MAINTAINER= Alexander Yurchenko <grange@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c z
MASTER_SITES= http://www.seasip.demon.co.uk/Unix/LibDsk/
LIB_DEPENDS= bz2.10::archivers/bzip2
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR=${WRKINST}
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdsk
${INSTALL_DATA} ${WRKSRC}/doc/libdsk.txt ${PREFIX}/share/doc/libdsk
${INSTALL_DATA} ${WRKSRC}/doc/libdsk.pdf ${PREFIX}/share/doc/libdsk
.include <bsd.port.mk>