summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-07 02:04:11 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-07 02:04:11 +0000
commit6b84fcbfb8c4dc1da89523985c525cd0a16ad6dc (patch)
treef7a3a45745f510e1b159f7a2a064afdd5f297486
parent- Remove indefinite article from COMMENT (diff)
- Remove PREFIX from MAKE_ARGS and use ${DESTDIR} in ${WRKSRC}/Makefile
Reported by: danfe
Notes
Notes: svn path=/head/; revision=333051
-rw-r--r--x11/xnodecor/Makefile1
-rw-r--r--x11/xnodecor/files/Makefile2
2 files changed, 1 insertions, 2 deletions
diff --git a/x11/xnodecor/Makefile b/x11/xnodecor/Makefile
index f9759c48ef4e..d387317d2310 100644
--- a/x11/xnodecor/Makefile
+++ b/x11/xnodecor/Makefile
@@ -14,7 +14,6 @@ COMMENT= Utility to set override_redirect in XWindowAttributes to True
NO_WRKSUBDIR= yes
USE_XORG= x11
PLIST_FILES= bin/xnodecor
-MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
do-extract:
@${MKDIR} ${WRKDIR}
diff --git a/x11/xnodecor/files/Makefile b/x11/xnodecor/files/Makefile
index dc0e825ae7fc..25f25c8b8f01 100644
--- a/x11/xnodecor/files/Makefile
+++ b/x11/xnodecor/files/Makefile
@@ -9,7 +9,7 @@ xnodecor:
$(CC) -o xnodecor xnodecor.c $(CFLAGS) $(LDFLAGS) $(LIBS)
install:
- ${BSD_INSTALL_PROGRAM} xnodecor ${PREFIX}/bin
+ ${BSD_INSTALL_PROGRAM} xnodecor ${DESTDIR}${PREFIX}/bin
clean:
rm -f *.rej a.out core xnodecor