diff options
author | linimon <linimon@FreeBSD.org> | 2003-12-12 13:22:45 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2003-12-12 13:22:45 +0800 |
commit | d9b66beb8218c719392bfcbffc7483722c3d5f89 (patch) | |
tree | 11927acfdcde7fdad9fef098f644413aef09eb35 /comms/qtpcr/Makefile | |
parent | 644271ee2316106be6a1df5af4222f6f8f0f77d1 (diff) | |
download | freebsd-ports-gnome-d9b66beb8218c719392bfcbffc7483722c3d5f89.tar.gz freebsd-ports-gnome-d9b66beb8218c719392bfcbffc7483722c3d5f89.tar.zst freebsd-ports-gnome-d9b66beb8218c719392bfcbffc7483722c3d5f89.zip |
Add comms/qtpcr, software that controls the ICOM PCR-1000 Receiver.
PR: ports/52319
Submitted by: Sebastian Yepes <esn@x123.info>
Diffstat (limited to 'comms/qtpcr/Makefile')
-rw-r--r-- | comms/qtpcr/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/comms/qtpcr/Makefile b/comms/qtpcr/Makefile new file mode 100644 index 000000000000..bd586f5e5769 --- /dev/null +++ b/comms/qtpcr/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: qtpcr +# Date created: 31 Jan 2003 +# Whom: Sebastian Yepes <esn@x123.info> +# +# $FreeBSD$ +# + +PORTNAME= qtpcr +PORTVERSION= 1.1.3 +CATEGORIES= comms +MASTER_SITES= http://www.physics.purdue.edu/~teepanis/qtpcr/ +DISTNAME= qtpcr-${PORTVERSION} + +MAINTAINER= esn@x123.info +COMMENT= Software that controls the ICOM PCR-1000 Receiver + +WRKSRC= ${WRKDIR}/qtpcr-${PORTVERSION}/src + +USE_X_PREFIX= yes +ALL_TARGET= +INSTALL_TARGET= + +.if defined(WITH_QT23) +USE_QT_VER= 2 +LIB_DEPENDS+= pthread:${PORTSDIR}/devel/pth +MAKE_ENV= INCPATH=-I${X11BASE}/include/qt2 MOC=moc2 LIBS="-lqt2-mt -L${X11BASE}/lib -lpthread -L${LOCALBASE}/lib/pth" +.else +USE_QT_VER= 3 +LIB_DEPENDS+= pthread:${PORTSDIR}/devel/pth +MAKE_ENV= INCPATH=-I${X11BASE}/include MOC=moc LIBS="-lqt-mt -L${X11BASE}/lib -lpthread -L${LOCALBASE}/lib/pth" +.endif + +.include <bsd.port.pre.mk> + +pre-everything:: +.if !defined(WITH_QT23) + @${ECHO_MSG} "You may specify the following on the command line:" + @${ECHO_MSG} "" + @${ECHO_MSG} "WITH_QT23=yes to use qt23, else it will use the current qt" + @${ECHO_MSG} "" +.endif + +post-install: + @${ECHO_MSG} "===> Installing qtpcr in ${X11BASE}/bin/qtpcr" + @${ECHO_MSG} "" + ${INSTALL_PROGRAM} ${WRKSRC}/qtpcr ${X11BASE}/bin + @${ECHO_MSG} "" + @${ECHO_MSG} "Remember to create a symbolic link from your com(0|1) to /dev/pcr1000" + @${ECHO_MSG} "" + +.include <bsd.port.post.mk> |