|
Lines 2-12
Link Here
|
| 2 |
# Date created: 2008-11-07 |
2 |
# Date created: 2008-11-07 |
| 3 |
# Whom: Wei-Yu Chen <weiyu@alpha3.cs.nthu.edu.tw> |
3 |
# Whom: Wei-Yu Chen <weiyu@alpha3.cs.nthu.edu.tw> |
| 4 |
# |
4 |
# |
| 5 |
# $FreeBSD: ports/ports-mgmt/pver/Makefile,v 1.1 2009/06/17 21:21:19 dhn Exp $ |
5 |
# $FreeBSD$ |
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= pver |
8 |
PORTNAME= pver |
| 9 |
PORTVERSION= 0.14 |
9 |
PORTVERSION= 0.15 |
|
|
10 |
PORTREVISION= 1 |
| 11 |
#PORTEPOCH= 0 |
| 10 |
CATEGORIES= ports-mgmt |
12 |
CATEGORIES= ports-mgmt |
| 11 |
MASTER_SITES= http://www.csie.nctu.edu.tw/~weiyu/software/ \ |
13 |
MASTER_SITES= http://www.csie.nctu.edu.tw/~weiyu/software/ \ |
| 12 |
${MASTER_SITE_GOOGLE_CODE} |
14 |
${MASTER_SITE_GOOGLE_CODE} |
|
Lines 17-32
Link Here
|
| 17 |
OPTIONS= SORT "Sort the result by the package names" Off \ |
19 |
OPTIONS= SORT "Sort the result by the package names" Off \ |
| 18 |
DB185 "Use BerkeleyDB 1.85/1.86" Off |
20 |
DB185 "Use BerkeleyDB 1.85/1.86" Off |
| 19 |
|
21 |
|
|
|
22 |
PLIST_SUB= PORTNAME=${PORTNAME} |
| 23 |
|
| 20 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
24 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
| 21 |
MAKE_ARGS+= PORTSDIR=${PORTSDIR} |
25 |
MAKE_ARGS+= PORTSDIR=${PORTSDIR} |
| 22 |
|
26 |
|
| 23 |
PLIST_FILES= bin/pver \ |
|
|
| 24 |
bin/pver_c \ |
| 25 |
bin/pver_dbgen \ |
| 26 |
bin/wpver \ |
| 27 |
%%DATADIR%%/LICENSE.txt |
| 28 |
PLIST_DIRS= %%DATADIR%% |
| 29 |
|
| 30 |
.include <bsd.port.pre.mk> |
27 |
.include <bsd.port.pre.mk> |
| 31 |
|
28 |
|
| 32 |
.if defined(WITH_SORT) |
29 |
.if defined(WITH_SORT) |
|
Lines 45-54
Link Here
|
| 45 |
.endif |
42 |
.endif |
| 46 |
|
43 |
|
| 47 |
post-install: |
44 |
post-install: |
| 48 |
${MKDIR} ${DATADIR} |
45 |
${MKDIR} ${PREFIX}/share/${PORTNAME}/ |
| 49 |
${INSTALL} ${WRKSRC}/LICENSE.txt ${DATADIR} |
46 |
${INSTALL} ${WRKSRC}/LICENSE.txt ${PREFIX}/share/${PORTNAME}/ |
| 50 |
|
|
|
| 51 |
@${CAT} ${PKGMESSAGE} | ${SED} -e 's|PORTSDIR|${PORTSDIR}|g' \ |
| 52 |
-e 's|__FreeBSD__|${OSREL:C/.[0-9]//}|g' ${PKGDIR}/pkg-message |
| 53 |
|
47 |
|
| 54 |
.include <bsd.port.post.mk> |
48 |
.include <bsd.port.post.mk> |