2012-10-06 23:59:41 +02:00
|
|
|
# Created by: Wei-Yu Chen <weiyu@alpha3.cs.nthu.edu.tw>
|
2009-06-17 23:21:19 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pver
|
2011-06-21 00:40:13 +02:00
|
|
|
PORTVERSION= 0.16
|
2009-06-17 23:21:19 +02:00
|
|
|
CATEGORIES= ports-mgmt
|
|
|
|
MASTER_SITES= http://www.csie.nctu.edu.tw/~weiyu/software/ \
|
|
|
|
${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
|
2011-07-15 23:15:29 +02:00
|
|
|
MAINTAINER= zi@FreeBSD.org
|
2009-06-17 23:21:19 +02:00
|
|
|
COMMENT= Show packages which are different version from ports using INDEX-*.db
|
|
|
|
|
2012-10-06 23:59:41 +02:00
|
|
|
OPTIONS_DEFINE= SORT DB185
|
|
|
|
SORT_DESC= Sort the result by the package names
|
|
|
|
DB185_DESC= Use BerkeleyDB 1.85/1.86
|
2009-06-17 23:21:19 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
MAKE_ARGS+= PORTSDIR=${PORTSDIR}
|
2009-09-02 01:11:13 +02:00
|
|
|
MAKE_JOBS_UNSAFE=yes
|
2009-06-17 23:21:19 +02:00
|
|
|
|
2014-02-21 01:33:48 +01:00
|
|
|
DEPRECATED= Not compatible with pkgNG
|
|
|
|
EXPIRATION_DATE=2014-09-01
|
|
|
|
|
2009-06-17 23:21:19 +02:00
|
|
|
PLIST_FILES= bin/pver \
|
|
|
|
bin/pver_c \
|
|
|
|
bin/pver_dbgen \
|
|
|
|
bin/wpver \
|
|
|
|
%%DATADIR%%/LICENSE.txt
|
|
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
|
2013-09-21 00:36:49 +02:00
|
|
|
NO_STAGE= yes
|
2009-06-17 23:21:19 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-10-06 23:59:41 +02:00
|
|
|
.if ${PORT_OPTIONS:MSORT}
|
2009-06-17 23:21:19 +02:00
|
|
|
MAKE_ARGS+= -DSORT
|
|
|
|
.endif
|
|
|
|
|
2012-10-06 23:59:41 +02:00
|
|
|
.if ${PORT_OPTIONS:MDB185}
|
2009-06-17 23:21:19 +02:00
|
|
|
MAKE_ARGS+= -DBSD_DB
|
|
|
|
.else
|
2011-05-26 11:45:09 +02:00
|
|
|
USE_BDB= 41+
|
2009-06-17 23:21:19 +02:00
|
|
|
MAKE_ARGS+= BDB_VER=${BDB_VER} BDB_LIB_DIR=${BDB_LIB_DIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(INDEX_DB_FILE)
|
|
|
|
MAKE_ARGS+= INDEX_DB_FILE=${INDEX_DB_FILE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL} ${WRKSRC}/LICENSE.txt ${DATADIR}
|
|
|
|
|
|
|
|
@${CAT} ${PKGMESSAGE} | ${SED} -e 's|PORTSDIR|${PORTSDIR}|g' \
|
|
|
|
-e 's|__FreeBSD__|${OSREL:C/.[0-9]//}|g' ${PKGDIR}/pkg-message
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|