Unbreak, don't abuse DESTDIR as PREFIX.

Take Maintainership.
This commit is contained in:
Tilman Keskinoz 2006-11-17 09:09:41 +00:00
parent 6b6e36f09a
commit ce6e370c99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177440
2 changed files with 4 additions and 9 deletions

View File

@ -11,13 +11,9 @@ PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.linuxnet.com/drivers/readers/files/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= arved@FreeBSD.org
COMMENT= IFD Handler Developer's Kit for MUSCLE PC/SC Lite
BROKEN= Does not build
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2006-12-01
LIB_DEPENDS= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
USE_LDCONFIG= yes

View File

@ -1,6 +1,6 @@
--- Makefile.orig Tue Aug 1 20:36:42 2000
+++ Makefile Wed Aug 28 14:53:02 2002
@@ -1,31 +1,41 @@
@@ -1,31 +1,40 @@
-# Muscle Smartcard Development
-# Makefile
-# David Corcoran
@ -9,7 +9,6 @@
+#
+
+PREFIX?= /usr/local
+DESTDIR?= ${PREFIX}
+
+#XXX
+#LIBDIR= /pcsc
@ -28,9 +27,9 @@
+.endif
+
+CFLAGS+= -I.
+CFLAGS+= -I${DESTDIR}${INCSDIR}
+CFLAGS+= -I${DESTDIR}${PREFIX}${INCSDIR}
+
+LDFLAGS+= -L${DESTDIR}/lib
+LDFLAGS+= -L${DESTDIR}${PREFIX}/lib
+LDADD+= -lpcsclite
+
+.if !defined(NO_PCSC_DEBUG)