1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

- Update MASTER_SITES

- Add LICENSE
- Support STRIP properly

PR:		187062
This commit is contained in:
Martin Wilke 2014-02-27 09:21:03 +00:00
parent d4aa27bf92
commit a6022e7c0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346294
2 changed files with 16 additions and 20 deletions

View File

@ -5,17 +5,28 @@ PORTNAME= astime
PORTVERSION= 2.8
PORTREVISION= 2
CATEGORIES= x11-clocks afterstep
MASTER_SITES= ftp://ftp.afterstep.org/apps/astime/ \
http://www.tigr.net/afterstep/download/astime/
MASTER_SITES= AFTERSTEP/apps/astime/ \
http://tigr.net/afterstep/download/astime/
MAINTAINER= ports@FreeBSD.org
COMMENT= Time/Date applet for WindowMaker
LICENSE= GPLv2
USE_XORG= xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-xpm-library="${LOCALBASE}/lib" --with-xpm-includes="${LOCALBASE}/include/X11"
INSTALL_TARGET= install install.man
CONFIGURE_ARGS= --with-xpm-includes=${LOCALBASE}/include \
--with-xpm-library=${LOCALBASE}/lib
PLIST_FILES= bin/astime man/man1/${PORTNAME}.1.gz
PLIST_FILES= bin/astime man/man1/astime.1.gz
post-build:
@${LN} -sf astime.man ${WRKSRC}/astime.1
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} astime \
${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC} && ${INSTALL_MAN} astime.1 \
${STAGEDIR}${MANPREFIX}/man/man1)
.include <bsd.port.mk>

View File

@ -1,15 +0,0 @@
--- autoconf/Makefile.common.in.orig 1999-05-02 23:12:39.000000000 +0800
+++ autoconf/Makefile.common.in 2014-01-11 20:25:48.000000000 +0800
@@ -10,10 +10,10 @@ install: install.bin install.man
install.bin: $(PROG)
$(STRIP) $(PROG)
- $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
+ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(AFTER_BIN_DIR)
install.man:
- $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x
+ $(INSTALL_DATA) $(PROG).man $(DESTDIR)$(AFTER_MAN_DIR)/$(PROG).1
uninstall:
$(RMF) $(AFTER_BIN_DIR)/$(PROG)