diff options
author | Will Andrews <will@FreeBSD.org> | 2001-04-07 19:37:31 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-04-07 19:37:31 +0000 |
commit | 61ea4aa6e35fa382d8af7bce62fdc137f99f9216 (patch) | |
tree | bb2a42497720ce50c80778f7bdbfa94ed34c4160 /misc/cuecat/Makefile | |
parent | 6721c866156508362bbb160c289c6b4b4f2891d8 (diff) | |
download | ports-61ea4aa6e35fa382d8af7bce62fdc137f99f9216.tar.gz ports-61ea4aa6e35fa382d8af7bce62fdc137f99f9216.zip |
Notes
Diffstat (limited to 'misc/cuecat/Makefile')
-rw-r--r-- | misc/cuecat/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/misc/cuecat/Makefile b/misc/cuecat/Makefile new file mode 100644 index 000000000000..aec47802812c --- /dev/null +++ b/misc/cuecat/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: cuecat +# Date created: 18 October 2000 +# Whom: mwm@mired.org +# +# $FreeBSD$ +# + +PORTNAME= cuecat +PORTVERSION= 1.0 +CATEGORIES= misc python +MASTER_SITES= http://www.mired.org/downloads/ \ + http://mwm.tzo.com/downloads/ + +MAINTAINER= mwm@mired.org + +NO_BUILD= yes +MAN1= cuecat.1 +USE_PYTHON= yes +WRKSRC= ${WRKDIR}/cuecat + +pre-install: + @${MV} ${WRKSRC}/cuecat.py ${WRKSRC}/cuecat.py-orig + @${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 + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/cuecat.py ${PYTHON_SITELIBDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/barcode.py ${PYTHON_SITELIBDIR} + python -O -c "import barcode, cuecat" + ${LN} -sf ${PYTHON_SITELIBDIR}/cuecat.py ${PREFIX}/bin/cuecat + ${INSTALL_MAN} ${WRKSRC}/cuecat.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> |