aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xnodecor
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-07 10:04:11 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-07 10:04:11 +0800
commitbd8244aac8fc356fb7067e6e266daa538e80c995 (patch)
treef7a3a45745f510e1b159f7a2a064afdd5f297486 /x11/xnodecor
parentad18c97ca822a59474786bd7178c046468628b88 (diff)
downloadfreebsd-ports-gnome-bd8244aac8fc356fb7067e6e266daa538e80c995.tar.gz
freebsd-ports-gnome-bd8244aac8fc356fb7067e6e266daa538e80c995.tar.zst
freebsd-ports-gnome-bd8244aac8fc356fb7067e6e266daa538e80c995.zip
- Remove PREFIX from MAKE_ARGS and use ${DESTDIR} in ${WRKSRC}/Makefile
Reported by: danfe
Diffstat (limited to 'x11/xnodecor')
-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