mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Support STAGEDIR.
This commit is contained in:
parent
06ffd534de
commit
f26dec2d0f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333994
3 changed files with 7 additions and 10 deletions
|
@ -12,9 +12,9 @@ COMMENT= Eject(1) replacement
|
|||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= confuse:${PORTSDIR}/devel/libconfuse \
|
||||
pcre:${PORTSDIR}/devel/pcre \
|
||||
cdio:${PORTSDIR}/sysutils/libcdio
|
||||
LIB_DEPENDS= libconfuse.so:${PORTSDIR}/devel/libconfuse \
|
||||
libpcre.so:${PORTSDIR}/devel/pcre \
|
||||
libcdio.so:${PORTSDIR}/sysutils/libcdio
|
||||
|
||||
USE_BZIP2= yes
|
||||
USES= pathfix pkgconfig gettext iconv
|
||||
|
@ -27,10 +27,6 @@ USE_LDCONFIG= yes
|
|||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
MAN1= unieject.1
|
||||
MAN5= unieject.conf.5
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/-D_POSIX_C_SOURCE/s|^CPPFLAGS|#CPPFLAGS|' ${WRKSRC}/configure
|
||||
|
@ -39,6 +35,6 @@ post-patch:
|
|||
/^install-data-am:/s|install-dist_htmlDATA||' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/unieject.conf.sample ${PREFIX}/etc
|
||||
${INSTALL_DATA} ${WRKSRC}/unieject.conf.sample ${STAGEDIR}${PREFIX}/etc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -7,6 +7,8 @@ lib/libunieject.la
|
|||
lib/libunieject.so
|
||||
lib/libunieject.so.5
|
||||
libdata/pkgconfig/libunieject.pc
|
||||
man/man1/unieject.1.gz
|
||||
man/man5/unieject.conf.5.gz
|
||||
share/locale/de/LC_MESSAGES/unieject.mo
|
||||
share/locale/es_AR/LC_MESSAGES/unieject.mo
|
||||
share/locale/es_ES/LC_MESSAGES/unieject.mo
|
||||
|
|
|
@ -13,8 +13,7 @@ COMMENT= Prints a list of all usernames in /etc/passwd
|
|||
NO_BUILD= yes
|
||||
PLIST_FILES= bin/userlist
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/userlist ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/userlist ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue