mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Use do-install one-liner
This commit is contained in:
parent
3184858e3d
commit
de94974df6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135959
@ -17,10 +17,13 @@ COMMENT= A plugin for GKrellM, which changes the desktop's background image
|
||||
BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
|
||||
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm
|
||||
|
||||
WRKSRC= ${WRKDIR}/gkrellmbgchg-${PORTVERSION}
|
||||
USE_X_PREFIX= yes
|
||||
USE_GNOME= imlib
|
||||
|
||||
PLIST_FILES= libexec/gkrellm/plugins/gkrellmbgchg.so
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${STRIP} ${WRKSRC}/gkrellmbgchg.so \
|
||||
${PREFIX}/libexec/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,24 +0,0 @@
|
||||
--- Makefile.orig Thu Aug 8 01:30:52 2002
|
||||
+++ Makefile Thu Aug 8 01:37:36 2002
|
||||
@@ -19,16 +19,13 @@
|
||||
|
||||
OBJS = gkrellmbgchg.o
|
||||
|
||||
-all: gkrellmbgchg.so
|
||||
-
|
||||
gkrellmbgchg.so: $(OBJS)
|
||||
$(CC) $(CFLAGS) $(OBJS) -o gkrellmbgchg.so $(LFLAGS) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.o core *.so* *.bak *~
|
||||
-install: gkrellmbgchg.so
|
||||
- $(INSTALL) -d $(HOME)/.gkrellm/plugins
|
||||
- $(INSTALL) gkrellmbgchg.so $(HOME)/.gkrellm/plugins
|
||||
-
|
||||
-gkrellmbgchg.c.o: gkrellmbgchg.c
|
||||
-
|
||||
+install:
|
||||
+ install -c -s gkrellmbgchg.so ${PREFIX}/libexec/gkrellm/plugins
|
||||
+uninstall:
|
||||
+ rm -rf $(PLUGIN_DIR)/gkrellmbgchg.so
|
||||
+all: gkrellmbgchg.so
|
Loading…
Reference in New Issue
Block a user