f382c01c4b
than "sectorsize" from the disc. Reported by: pav
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# New ports collection makefile for: libvolume_id
|
|
# Date created: 04 November 2006
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libvolume_id
|
|
PORTVERSION= 0.71.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.marcuscom.com/downloads/
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Library to provide file system type information
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= pkgconfig
|
|
USE_LDCONFIG= yes
|
|
MAKE_ENV= E=${ECHO_MSG} RANLIB=${RANLIB} AR=${AR} Q=@ \
|
|
CC=${CC} prefix=${PREFIX}
|
|
|
|
PLIST_FILES= include/libvolume_id.h \
|
|
lib/libvolume_id.a \
|
|
lib/libvolume_id.so \
|
|
lib/libvolume_id.so.0 \
|
|
libdata/pkgconfig/libvolume_id.pc
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
IGNORE= not supported on 4.X
|
|
.endif
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/libdata/pkgconfig
|
|
${INSTALL_DATA} ${WRKSRC}/libvolume_id.pc ${PREFIX}/libdata/pkgconfig/libvolume_id.pc
|
|
${INSTALL_DATA} ${WRKSRC}/libvolume_id.h ${PREFIX}/include/libvolume_id.h
|
|
${INSTALL_DATA} ${WRKSRC}/libvolume_id.a ${PREFIX}/lib/libvolume_id.a
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libvolume_id.so.0 ${PREFIX}/lib/libvolume_id.so.0
|
|
${LN} -sf ${PREFIX}/lib/libvolume_id.so.0 ${PREFIX}/lib/libvolume_id.so
|
|
|
|
.include <bsd.port.post.mk>
|