diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-06-17 15:12:10 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-06-17 15:12:10 +0000 |
commit | e8e01cd865dbde5b773db846d5f0738adc12e0d9 (patch) | |
tree | cbe4d4645478cd85d72ebf3b0796dad9d1271300 /misc/cuecat | |
parent | Update to version 3.1.7 (diff) |
Update to version 1.1
PR: 28197
Submitted by: MAINTAINER
Notes
Notes:
svn path=/head/; revision=44104
Diffstat (limited to 'misc/cuecat')
-rw-r--r-- | misc/cuecat/Makefile | 28 | ||||
-rw-r--r-- | misc/cuecat/distinfo | 2 | ||||
-rw-r--r-- | misc/cuecat/pkg-plist | 1 |
3 files changed, 26 insertions, 5 deletions
diff --git a/misc/cuecat/Makefile b/misc/cuecat/Makefile index bf902434dc00..180e20dc56bd 100644 --- a/misc/cuecat/Makefile +++ b/misc/cuecat/Makefile @@ -6,16 +6,22 @@ # PORTNAME= cuecat -PORTVERSION= 1.0 -PORTREVISION= 2 +PORTVERSION= 1.1 CATEGORIES= misc python -MASTER_SITES= http://www.mired.org/downloads/ \ - http://mwm.tzo.com/downloads/ +MASTER_SITES= http://www.mired.org/downloads/ MAINTAINER= mwm@mired.org +.if !defined(WITHOUT_X11) +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \ + ${PYTHON_SITELIBDIR}/Pmw/__init__.py:${PORTSDIR}/x11-toolkits/pmw +.endif + NO_BUILD= yes MAN1= cuecat.1 +.if !defined(WITHOUT_X11) +MAN1+= xcuecat.1 +.endif USE_PYTHON= yes WRKSRC= ${WRKDIR}/cuecat @@ -24,6 +30,10 @@ pre-install: @${SED} 's;/usr/opt;${PREFIX};' ${WRKSRC}/cuecat.py-orig >${WRKSRC}/cuecat.py @${MV} ${WRKSRC}/barcode.py ${WRKSRC}/barcode.py-orig @${SED} 's;/usr/opt;${PREFIX};' ${WRKSRC}/barcode.py-orig >${WRKSRC}/barcode.py +.if !defined(WITHOUT_X11) + @${MV} ${WRKSRC}/xcuecat.py ${WRKSRC}/xcuecat.py-orig + @${SED} 's;/usr/opt;${PREFIX};' ${WRKSRC}/xcuecat.py-orig >${WRKSRC}/xcuecat.py +.endif do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cuecat.py ${PYTHON_SITELIBDIR} @@ -31,5 +41,15 @@ do-install: python -O -c "import barcode, cuecat" ${LN} -sf ${PYTHON_SITELIBDIR}/cuecat.py ${PREFIX}/bin/cuecat ${INSTALL_MAN} ${WRKSRC}/cuecat.1 ${PREFIX}/man/man1 +.if !defined(WITHOUT_X) + ${INSTALL_SCRIPT} ${WRKSRC}/xcuecat.py ${PREFIX}/bin/xcuecat + ${INSTALL_MAN} ${WRKSRC}/xcuecat.1 ${PREFIX}/man/man1 +.endif + +.if defined(WITHOUT_X11) +post-install: + $(MV) ${TMPPLIST} ${TMPPLIST}.orig + ${GREP} -v xcuecat ${TMPPLIST}.orig > ${TMPPLIST} +.endif .include <bsd.port.mk> diff --git a/misc/cuecat/distinfo b/misc/cuecat/distinfo index e540ac02da34..c59672c8c5d5 100644 --- a/misc/cuecat/distinfo +++ b/misc/cuecat/distinfo @@ -1 +1 @@ -MD5 (cuecat-1.0.tar.gz) = 5febb343ab3f68d4baee9d7be4cc35df +MD5 (cuecat-1.1.tar.gz) = 22ccc053eb1c111a60f8f60c220175c2 diff --git a/misc/cuecat/pkg-plist b/misc/cuecat/pkg-plist index 5008dd8f4ed9..4faa0df92b00 100644 --- a/misc/cuecat/pkg-plist +++ b/misc/cuecat/pkg-plist @@ -1,4 +1,5 @@ bin/cuecat +bin/xcuecat lib/%%PYTHON_VERSION%%/site-packages/barcode.py lib/%%PYTHON_VERSION%%/site-packages/barcode.pyo lib/%%PYTHON_VERSION%%/site-packages/cuecat.py |