mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
- Remove bogus patch; makes port PREFIX-clean
- Convert to PLIST_FILES/DIRS from 4-line pkg-plist - Utilize DATADIR macro
This commit is contained in:
parent
252a2428d5
commit
c23dd79257
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209685
@ -17,6 +17,8 @@ COMMENT= An application launcher with simple XML-based configuration syntax
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= gtk12 gdkpixbuf libxml2
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/config.xml %%DATADIR%%/default.png
|
||||
PLIST_DIRS= %%DATADIR%%
|
||||
MAN1= ${PORTNAME}.1
|
||||
|
||||
post-extract:
|
||||
@ -25,10 +27,9 @@ post-extract:
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
|
||||
@${MKDIR} ${PREFIX}/share/${PORTNAME}
|
||||
.for file in config.xml default.png
|
||||
${INSTALL_DATA} ${WRKSRC}/prefs/${file} ${PREFIX}/share/${PORTNAME}
|
||||
.endfor
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/prefs/config.xml \
|
||||
${WRKSRC}/prefs/default.png ${DATADIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/Makefile.in.orig Fri Apr 11 20:41:42 2003
|
||||
+++ src/Makefile.in Fri Apr 11 20:42:11 2003
|
||||
@@ -72,7 +72,7 @@
|
||||
XML_CONFIG = @XML_CONFIG@
|
||||
XML_LIBS = @XML_LIBS@
|
||||
|
||||
-CPPFLAGS = -DPREFIX=\"@prefix@\"
|
||||
+CPPFLAGS = -DPREFIX=\"${X11BASE}\"
|
||||
|
||||
bin_PROGRAMS = acidlaunch
|
||||
|
@ -1,4 +0,0 @@
|
||||
bin/acidlaunch
|
||||
share/acidlaunch/config.xml
|
||||
share/acidlaunch/default.png
|
||||
@dirrm share/acidlaunch
|
Loading…
Reference in New Issue
Block a user