diff options
author | kevlo <kevlo@FreeBSD.org> | 2001-06-17 23:12:10 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2001-06-17 23:12:10 +0800 |
commit | 90a41e999af1c511939c652f8b09cbd08b5d3f4d (patch) | |
tree | 4ce1fbd04fb83693f7ea09aeddfa5003d6e60995 /misc/cuecat | |
parent | ed4621cb1bdcc145a5d3e9993810e4bf06c10057 (diff) | |
download | freebsd-ports-gnome-90a41e999af1c511939c652f8b09cbd08b5d3f4d.tar.gz freebsd-ports-gnome-90a41e999af1c511939c652f8b09cbd08b5d3f4d.tar.zst freebsd-ports-gnome-90a41e999af1c511939c652f8b09cbd08b5d3f4d.zip |
Update to version 1.1
PR: 28197
Submitted by: MAINTAINER
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 |