openbsd-ports/devel/libdsk/Makefile

38 lines
966 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.13 2008/01/04 17:48:34 espie Exp $
COMMENT= library for accessing disks and disk image files
DISTNAME= libdsk-1.0.0
PKGNAME= ${DISTNAME}p1
2006-10-28 07:19:20 -04:00
SHARED_LIBS += dsk 2.2 # .2.2
CATEGORIES= devel
HOMEPAGE= http://www.seasip.demon.co.uk/Unix/LibDsk/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-11-23 16:34:27 -05:00
WANTLIB= c z
MASTER_SITES= http://www.seasip.demon.co.uk/Unix/LibDsk/
2006-08-01 18:55:52 -04:00
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"
2004-07-31 17:17:21 -04:00
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>